Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change logging to less verbose #35

Open
onnimonni opened this issue Jul 28, 2017 · 0 comments
Open

Change logging to less verbose #35

onnimonni opened this issue Jul 28, 2017 · 0 comments

Comments

@onnimonni
Copy link
Contributor

onnimonni commented Jul 28, 2017

Currently logging looks like this:

worker.1  | [11] Running wp cavalcade run 11 (wp_scheduled_auto_draft_delete a:0:{})
worker.1  | [11] Started worker
worker.1  | [11] Worker status: Array
worker.1  | (
worker.1  |     [command] => wp cavalcade run 11
worker.1  |     [pid] => 52
worker.1  |     [running] =>
worker.1  |     [signaled] =>
worker.1  |     [stopped] =>
worker.1  |     [exitcode] => 0
worker.1  |     [termsig] => 0
worker.1  |     [stopsig] => 0
worker.1  | )
worker.1  |
worker.1  | [11] Worker shutting down...
worker.1  | [11] Worker out:
worker.1  | [11] Worker err:
worker.1  | [11] Worker ret: 0

Could we just log one line like nginx? I had something like this in mind:

 [11] [28/Jul/2017:14:43:41 +0000] START wp_scheduled_auto_draft_delete a:0:{}
 [11] [28/Jul/2017:14:43:45 +0000] END wp_scheduled_auto_draft_delete 0 ["output"] ["error text"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant