You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the logs:default command calls the docker binary directly to retrieve application logs. This really belongs in the domain of the scheduler in use, as the docker binary may not always be used to run applications.
We should implement a scheduler-logs trigger, which would be called as follows:
# where `TAIL` and `PRETTY_PRINT` can be `true` or `false`
# `NUM` may be empty, meaning it has no specified value
plugin trigger scheduler-logs $DOKKU_SCHEDULER $APP $PROCESS_TYPE $TAIL $PRETTY_PRINT $NUM
A scheduler plugin may choose to implement the PRETTY_PRINT or NUM arguments, though should be able to:
tail logs (or output a reasonable number of lines, up to the implementor to decide)
fetch logs for all process types or just a single process type
when fetching logs for multiple process types, it must prefix each line with a variable approximating $DYNO.
The text was updated successfully, but these errors were encountered:
Currently, the
logs:default
command calls the docker binary directly to retrieve application logs. This really belongs in the domain of the scheduler in use, as the docker binary may not always be used to run applications.We should implement a
scheduler-logs
trigger, which would be called as follows:A scheduler plugin may choose to implement the
PRETTY_PRINT
orNUM
arguments, though should be able to:$DYNO
.The text was updated successfully, but these errors were encountered: