How to have debug msg with a full Mojolicious app

52 views
Skip to first unread message

François Rappaz

unread,
Jun 4, 2019, 6:07:02 AM6/4/19
to Mojolicious
With Mojolicious::Lite, I have no problem in having debug message using $c->app->log->debug();

When I start a full Mololicious app with a script, named my_lib.pl,  ending in
 
Mojolicious::Commands->start_app('MyLib');

and that script is run from the windows command (Yes, I'm on Windows) with

morbo my_lib.pl

I do not have any message that way, What am I missing ? How can I have these ?
Thanks
F.

Dan Book

unread,
Jun 4, 2019, 8:16:45 AM6/4/19
to mojol...@googlegroups.com
Do you have a log directory? If it is present logs will go there instead of STDERR.

-Dan

--
You received this message because you are subscribed to the Google Groups "Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mojolicious...@googlegroups.com.
To post to this group, send email to mojol...@googlegroups.com.
Visit this group at https://groups.google.com/group/mojolicious.
To view this discussion on the web visit https://groups.google.com/d/msgid/mojolicious/319fdacc-a66c-4201-8e15-5964c52f2de9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

François Rappaz

unread,
Jun 5, 2019, 1:35:57 AM6/5/19
to Mojolicious
So simple, Yes that was that: I created a log folder and didn't realize the log messages went there instead to stderr.

François
Reply all
Reply to author
Forward
0 new messages