ERROR log: Log level changes not getting reflected

Avatar

Avatar
Validate 1
Level 3
a_mn1
Level 3

Likes

14 likes

Total Posts

84 posts

Correct reply

1 solution
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile

Avatar
Validate 1
Level 3
a_mn1
Level 3

Likes

14 likes

Total Posts

84 posts

Correct reply

1 solution
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
a_mn1
Level 3

18-09-2017

Hello All, I am trying to change the log level of error log through system/console. However this changes are not getting reflected in the logs. What could be the reason for this.

Replies

Avatar

Avatar
Establish
MVP
Veena_Vikram
MVP

Likes

484 likes

Total Posts

1,048 posts

Correct reply

121 solutions
Top badges earned
Establish
Coach
Contributor 2
Seeker
Ignite 5
View profile

Avatar
Establish
MVP
Veena_Vikram
MVP

Likes

484 likes

Total Posts

1,048 posts

Correct reply

121 solutions
Top badges earned
Establish
Coach
Contributor 2
Seeker
Ignite 5
View profile
Veena_Vikram
MVP

18-09-2017

What specific logs are you trying to capture ? Debug or info ?

Avatar

Avatar
Coach
Employee
Jörg_Hoh
Employee

Likes

1,134 likes

Total Posts

3,161 posts

Correct reply

1,079 solutions
Top badges earned
Coach
Give back 600
Ignite 5
Ignite 3
Ignite 1
View profile

Avatar
Coach
Employee
Jörg_Hoh
Employee

Likes

1,134 likes

Total Posts

3,161 posts

Correct reply

1,079 solutions
Top badges earned
Coach
Give back 600
Ignite 5
Ignite 3
Ignite 1
View profile
Jörg_Hoh
Employee

18-09-2017

What are you trying to achieve? Which loglevel? And what have you tried and was not working?

Jörg

Avatar

Avatar
Springboard
Level 3
Sh1ju
Level 3

Likes

13 likes

Total Posts

56 posts

Correct reply

4 solutions
Top badges earned
Springboard
Validate 1
Establish
Ignite 1
Give Back 5
View profile

Avatar
Springboard
Level 3
Sh1ju
Level 3

Likes

13 likes

Total Posts

56 posts

Correct reply

4 solutions
Top badges earned
Springboard
Validate 1
Establish
Ignite 1
Give Back 5
View profile
Sh1ju
Level 3

18-09-2017

Restart AEM and then check

Avatar

Avatar
Validate 1
Level 3
a_mn1
Level 3

Likes

14 likes

Total Posts

84 posts

Correct reply

1 solution
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile

Avatar
Validate 1
Level 3
a_mn1
Level 3

Likes

14 likes

Total Posts

84 posts

Correct reply

1 solution
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
a_mn1
Level 3

18-09-2017

I am trying to switch to Debug and Trace.

Avatar

Avatar
Validate 1
Level 3
a_mn1
Level 3

Likes

14 likes

Total Posts

84 posts

Correct reply

1 solution
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile

Avatar
Validate 1
Level 3
a_mn1
Level 3

Likes

14 likes

Total Posts

84 posts

Correct reply

1 solution
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
a_mn1
Level 3

18-09-2017

I want to know what is causing this issue. This is happening in my Production env.

Avatar

Avatar
Validate 1
Level 3
a_mn1
Level 3

Likes

14 likes

Total Posts

84 posts

Correct reply

1 solution
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile

Avatar
Validate 1
Level 3
a_mn1
Level 3

Likes

14 likes

Total Posts

84 posts

Correct reply

1 solution
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
a_mn1
Level 3

18-09-2017

Hello Jorg,

I am trying to debug an issue . I wanted to enable Debug/Trace in my logs. Whenever i try to change the log levels in my local /dev servers from configMgr, it reflects immediately. But not sure what could be the reason that the same is not happening in my Production env. I am able to change the log level from configMgr, but after saving, it again go back to Info mode.

Thanks,

Anand

Avatar

Avatar
Coach
Employee
Jörg_Hoh
Employee

Likes

1,134 likes

Total Posts

3,161 posts

Correct reply

1,079 solutions
Top badges earned
Coach
Give back 600
Ignite 5
Ignite 3
Ignite 1
View profile

Avatar
Coach
Employee
Jörg_Hoh
Employee

Likes

1,134 likes

Total Posts

3,161 posts

Correct reply

1,079 solutions
Top badges earned
Coach
Give back 600
Ignite 5
Ignite 3
Ignite 1
View profile
Jörg_Hoh
Employee

19-09-2017

Have you tried to use the Sling Logging console (reachable through http://localhost:4502/system/console/slinglog (in the navigation: Sling => Log Support)?

I never had problems using this console.

Jörg

Avatar

Avatar
Validate 1
Level 2
umamaheswariy65
Level 2

Likes

11 likes

Total Posts

38 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 2
umamaheswariy65
Level 2

Likes

11 likes

Total Posts

38 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
umamaheswariy65
Level 2

19-09-2017

I can be able to change the log level in system/console to see that need to restart the server. In my case after the restart can be able to see the change. I am using CQ6.2 with sp1.

Avatar

Avatar
Validate 1
Level 10
edubey
Level 10

Likes

277 likes

Total Posts

1,502 posts

Correct reply

392 solutions
Top badges earned
Validate 1
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile

Avatar
Validate 1
Level 10
edubey
Level 10

Likes

277 likes

Total Posts

1,502 posts

Correct reply

392 solutions
Top badges earned
Validate 1
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile
edubey
Level 10

19-09-2017

Hi,

IIRC, I have seen this once in AEM 6.3 in a production environment. I think for some reason (probably bug) duplicate configs get created.

When you change the log level, you will be seeing config Id in log files. You may not find the config in Felix console.

However, there wasn't any straight solution from Adobe support team.

Can you please verify the Felix console's configuration and check the if there are any duplicate category created for these configurations? if so, delete them.

As you mentioned, that you are still seeing duplicate configurations of

  • Apache Sling Job Queue Configuration
  • Apache Sling Login Admin Whitelist Configuration Fragment

I would suggest you delete them and then restart the instance.

Thanks