build(Makefile): rewrite log-% documentation
This commit is contained in:
parent
402a710fbf
commit
fba71e5e38
3
Makefile
3
Makefile
@ -285,9 +285,8 @@ well-known: static;
|
|||||||
status:
|
status:
|
||||||
@./utils/develop-status.pl -a
|
@./utils/develop-status.pl -a
|
||||||
|
|
||||||
# TODO: rework logs, because they do not work
|
|
||||||
.PHONY: log-%
|
.PHONY: log-%
|
||||||
# HELP(log-{database,memcached,minio,backend,frontend,hoogle}): inspect output of a given (currently running) service. When a service supports multiple running instances in one develop (i.e. backend), you need to specify the exact instance by its associated file (e.g. backend-1, backend-2, etc.), please check the contents of the develop/ directory for a list of running instances.
|
# HELP(log-$(JOB)-$(SERVICE)): inspect output of a given service. The service must be currently running When a service supports multiple running instances in one develop (i.e. backend), you need to specify the exact instance by its associated file (e.g. backend-1, backend-2, etc.), please check the contents of the develop/ directory for a list of running instances.
|
||||||
log-%:
|
log-%:
|
||||||
DEVELOP=develop/`cat develop/.current` ; \
|
DEVELOP=develop/`cat develop/.current` ; \
|
||||||
SEARCH_FILE="$${DEVELOP}/$*" ; \
|
SEARCH_FILE="$${DEVELOP}/$*" ; \
|
||||||
|
|||||||
Reference in New Issue
Block a user