ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | architecture List | June 2006 Index

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

Monolog configuration problems


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




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

Reply via email to:

Powered by MHonArc.

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