[Mojolicious] Re: How to have debug msg with a full Mojolicious app

2019-06-04 Thread François Rappaz
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 On Tuesday, June 4, 2019 at 12:07:02 PM UTC+2, François Rappaz wrote: > > With Mojolicious::Lite, I have no problem in having debug message using > $c->app->log->debu

Re: [Mojolicious] How to have debug msg with a full Mojolicious app

2019-06-04 Thread Dan Book
Do you have a log directory? If it is present logs will go there instead of STDERR. -Dan On Tue, Jun 4, 2019 at 6:07 AM François Rappaz wrote: > 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

[Mojolicious] How to have debug msg with a full Mojolicious app

2019-06-04 Thread François Rappaz
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