Hello, I'm playing with 1.174 and I've found that the log it's managed inside lib/logs, but every time I launch the application, another logs/ directory is created with an empty development.log file. Since I've upgraded to 1.174 from GIT and ported my 'on going' application to the new layout (I love it, great work!), I don't know if it's my fault or it's a bug. Tell me your opinion, and I'll file a bug if needed. Cheers, Juanjo -- jjm's home: http://www.usebox.net/jjm/ blackshell: http://blackshell.usebox.net/ ramble on: http://rambleon.usebox.net/
Hi, Le vendredi 16 avril 2010 à 18:58 +0100, Juan J. Martínez a écrit :
Hello,
I'm playing with 1.174 and I've found that the log it's managed inside lib/logs, but every time I launch the application, another logs/ directory is created with an empty development.log file.
Since I've upgraded to 1.174 from GIT and ported my 'on going' application to the new layout (I love it, great work!), I don't know if it's my fault or it's a bug.
Well, are you using the devel branch? If so you have to load your application with "load_app". Try to re-scaffold your app with dancer -a Regards, -- Alexis Sukrieh
El sáb, 17-04-2010 a las 12:10 +0200, Alexis Sukrieh escribió:
[...] Well, are you using the devel branch? If so you have to load your application with "load_app".
Try to re-scaffold your app with dancer -a
I did it, but it keeps creating two logs directories. My pl file it's... #!/usr/bin/perl use Dancer; use openIdUseboxNet::DB::DBI; load_app 'openIdUseboxNet'; openIdUseboxNet::DB::DBI->connection( config->{'storage'}->{'dsn'}, config->{'storage'}->{'username'}, config->{'storage'}->{'password'}); dance; Cheers, Juanjo -- jjm's home: http://www.usebox.net/jjm/ blackshell: http://blackshell.usebox.net/ ramble on: http://rambleon.usebox.net/
El sáb, 17-04-2010 a las 12:23 +0100, Juan J. Martínez escribió:
El sáb, 17-04-2010 a las 12:10 +0200, Alexis Sukrieh escribió:
[...] Well, are you using the devel branch? If so you have to load your application with "load_app".
Try to re-scaffold your app with dancer -a
I did it, but it keeps creating two logs directories.
My pl file it's...
OK, nevermind. I was using in my .pm file: use Dancer; instead of... use Dancer ':syntax'; Cheers, Juanjo -- jjm's home: http://www.usebox.net/jjm/ blackshell: http://blackshell.usebox.net/ ramble on: http://rambleon.usebox.net/
participants (2)
-
Alexis Sukrieh -
Juan J. Martínez