Hi Michael,

Thanks for your response. However, I used the exact image version mentioned 
below but I still have the same problem. User rights for 
org.ops4j.pax.logging.cfg is not correct, and I cannot change it to “odl” from 
“root”. All other files are ok except this single one:
[cid:[email protected]]

I used the same sdnc-image version as you mentioned:
[cid:[email protected]]

When I used some older SDNC images I did not have this problem, but I can no 
longer use those older images due to other restrictions.

Do you have any other suggestions? BTW, we deployed ONAP using OOM master 
branch.

Thanks,

Hesam


From: Michael Dürre <[email protected]>
Sent: Thursday, April 7, 2022 2:33 AM
To: [email protected]; Hesam Rahimi <[email protected]>
Subject: Re: [onap-discuss] log4j error: can no longer change log level or tail 
in karaf console


Hi Hesam,

on my side this problem does not appear with the 
sdnc-image:2.3.1-STAGING-20220405T124112Z. I mean I was able to execute log:set 
command. User rights are also looking quite good.

[cid:[email protected]]

Do you may use this file as a container volume?

Kind regards,
Michael
On 06.04.22 19:48, Hesam Rahimi via lists.onap.org wrote:
Hi all,

I’m having trouble to “tail” the logs in karaf console inside sdnc pod. It 
looks like log4j config file is now a “readOnly” file system and so I can 
neither do “tail” nor change any log level inside karaf console. Below is the 
error I’m getting when trying to do log:tail or log:set.
[cid:[email protected]]

Anyone can please help me on how to resolve this issue? BTW, it looks like this 
issue is relatively new and possibly after the recent submissions around log4j.

Thanks,

Hesam



--
Michael Dürre
Software Engineer

highstreet technologies GmbH
Hähnelstraße 6
12159 Berlin
Skype: 
[email protected]<mailto:[email protected]>
E-Mail: 
[email protected]<mailto:[email protected]>
Web: http://www.highstreet-technologies.com

Geschäftsführer: Dipl.-Ing. (FH) Alfons Mittermaier
Handelsregister: Amtsgericht Charlottenburg, HRB 114905 B
Firmensitz: Berlin
USt-IdNr.: DE261090513




-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#24006): https://lists.onap.org/g/onap-discuss/message/24006
Mute This Topic: https://lists.onap.org/mt/90295546/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to