Are  you using Karaf? If so, I know the file name is
org.ops4j.pax.logging.cfg

On 24 August 2016 at 09:51, iJava <[email protected]> wrote:

> Hi all,
>
> I use pax-loggin 1.8.5. I installed and added two bundles - pax-loggin-api
> and pax-logging-service. When I write something to log
> it seems to work and the message goes to console. Now, I created
> log4j.properties file with the following contents:
> log4j.rootLogger=ALL, NotConsole
> log4j.appender.NotConsole=org.apache.log4j.RollingFileAppender
> log4j.appender.NotConsole.fileName=/home/somepath/mylog.log
> log4j.appender.NotConsole.maxFileSize=20MB
>
> However, messages anyway go to console. It seems to me, that my
> log4j.properties is ignored. Where should I place it to
> be read by pax-logging?
>
>
>
>
> --
> --
> ------------------
> OPS4J - http://www.ops4j.org - [email protected]
>
> ---
> You received this message because you are subscribed to the Google Groups
> "OPS4J" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Matt Sicker <[email protected]>

-- 
-- 
------------------
OPS4J - http://www.ops4j.org - [email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to