Right now all the Mojolicious apps are writing the logs to the default mojo logger, which, if there is a "log" directory present, is "log/.log", otherwise it's STDOUT. Since the runit log service file creates a "log" directory, our logs are not being written to STDOUT. This makes the runit log service irrelevant, but it also means that our logs are not being rotated.
We should make sure that both CPAN::Testers::API and cpantesters-legacy-metabase are writing their logs to STDERR so they can be rotated properly and only written to one log file.
In the future, we will want to forward these logs to syslog as well.
Right now all the Mojolicious apps are writing the logs to the default mojo logger, which, if there is a "log" directory present, is "log/.log", otherwise it's STDOUT. Since the runit log service file creates a "log" directory, our logs are not being written to STDOUT. This makes the runit log service irrelevant, but it also means that our logs are not being rotated.
We should make sure that both CPAN::Testers::API and cpantesters-legacy-metabase are writing their logs to STDERR so they can be rotated properly and only written to one log file.
In the future, we will want to forward these logs to syslog as well.