Daniel,

We have these in our startup script:
-Dfelix.fileinstall.dir=../../conf \
-Dlog4j.configuration=file:../../conf/org.ops4j.pax.logging.cfg \

Not even sure anymore if we need them both, but it works perfectly.

Hope this helps,

Erwin

On Nov 29, 2017, at 11:42, daniel stieger 
<daniel.stie...@gmx.at<mailto:daniel.stie...@gmx.at>> wrote:


Gentlemen,

i feel realy bad to ask such a beginner s question, but after 4 hours i m 
giving up.

I just use a plain felix installation and added the config admin and the pax 
logging framework (api + service). However, i have not found out how to 
configure pax logging to use a file...

* placed org.ops4j.pax.logging.properties   file to ./confg
* placed org.ops4j.pax.logging.cfg            file to ./bundle

and to almost all other dirs ..  .. i was able to set 
org.ops4j.pax.logging.DefaultServiceLog.level=ERROR
int ./config/config.propeties That did work! also tried to adjust with
"org.ops4j.pax.logging.log4j.rootLogger = ....    " in this very file .. 
doesn't work either.

How could i adjust the pax settings? Is there also a way to check those 
settings via gogo shell?


Any hint apreciated ..
Daniel


---------------------------------------------------------------------
To unsubscribe, e-mail: 
users-unsubscr...@felix.apache.org<mailto:users-unsubscr...@felix.apache.org>
For additional commands, e-mail: 
users-h...@felix.apache.org<mailto:users-h...@felix.apache.org>


Erwin Hogeweg
CTO
3690 Airport Road
Boca Raton, FL 33431
P. +1 (954) 556-6565
M. +1 (561) 306-7395
F. +1 (561) 948-2730
[Seecago]<http://www.seecago.com>

Reply via email to