ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | architecture List | June 2006 Index

<--  Date Index  --> <--  Thread Index  -->

Re: [architecture] Monolog configuration problems


Hi damien,

About the first problem you have to 
- activate the DEBUG level for joram and petals loggers
- define your 3 handlers with their level such as this example:
handler.myConsoleHandler.level WARN

concerning the second problem, which wrapper do you use (java or
log4j) ?

Regards,
Seb

On jeu, 2006-06-15 at 15:38 +0200, Damien DESJARDINS - EBM WebSourcing
wrote:
> Hello
> 
> 
> I am a developer in the Petals project.
> 
> This week, we are integrating Joram in our project.
> 
> Joram use Monolog to log.
> We use Monolog too to log our messages.
> 
> We would like to configure Monolog to act like this :
> 
> -  to display on the console all the INFO messages (those of Joram and 
> ours)
> -  to log in a petals.log file the DEBUG messages of Petals
> -  to log in a joram.log file the DEBUG messages of Joram
> 
> I have tried a lot of configuration (using the additivity parameter)
> but i don't manage to do it.
> 
> 
> 
> I have another problem with the RollingFile handler.
> 
> Excerpt of my configuration file :
> # -----------------------------------------------------------------------
> # petalsLF : rolling file handler for Petals
> # -----------------------------------------------------------------------
> handler.petalsLF.type RollingFile
> handler.petalsLF.output logs/petals.log
> handler.petalsLF.pattern %h %l %d, %m%n
> handler.petalsLF.fileNumber 2
> handler.petalsLF.maxSize 1000000
> 
> This works fine on Linux when the directory logs is present
> But it fails to work on Windows.
> 
> The problem may be "/" in the output property.
> 
> 
> 
> 
> Can somebody help me on this subjects ?
> 
> 
> 
> Regards
> 
> 
> DAMien
> 
> 
> document plein texte attachment (message-footer.txt)
-- 
Sebastien Chassande-Barrioz
GSM: (+33) 06.73.16.09.32
MSN: klaneon@xxxxxxxx




<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.