Replies: 3 comments 15 replies
-
Just use prefork instead of Hypnotoad with systemd. |
Beta Was this translation helpful? Give feedback.
-
In the end I've opted to to have startup set a specific log file when in production
seems to cover all my needs. One additional question. When combining this with |
Beta Was this translation helpful? Give feedback.
-
If you want, you could try out https://metacpan.org/pod/Mojo::Server::DaemonControl |
Beta Was this translation helpful? Give feedback.
-
Does anyone have good experience with mojo logging when running the applications via hypnotoad and systemd.
As far as I know the logging to stderr etc should be pucked up by systemd and is viewable in the journal.
As far as I can tell I can get my app to log something from the setup method, everything else just disappears.
Running hypnotoad manual in the foreground logs just fine just as we get with morbo.
I'm assuming that it is the logs from the workers that are lost?
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions