Author |
|
servmgr2004
Joined: 18 Apr 2014 Posts: 3 Location: USA
|
Posted: Fri 18 Apr '14 17:44 Post subject: Remove SessionID mapping from log files |
|
|
Since the session ID is added to the TomCat stdout log files, they have grown drastically. Is there a way to turn off that portion of the logging file?
I have tons of lines with:
[DEBUG] 04/101/2014 08:04:19:290 : removing session B17C257EA8686C7210E87422C9F24F31 from SessionMap
[DEBUG] 04/101/2014 08:04:19:290 : removing session 2820CA65178B876CCB91061CB2F3CAE2 from SessionMap
[DEBUG] 04/101/2014 08:04:19:586 : removing session 6841053A1A1EA8B80B4FF5C28D66B18F from SessionMap
[DEBUG] 04/101/2014 08:04:19:586 : removing session 7A53F8E3BD1AE64DE04A9E2315FB045C from SessionMap
[DEBUG] 04/101/2014 08:04:21:162 : removing session E1B928641C63E213038782A0CACE3F48 from SessionMap |
|
Back to top |
|
James Blond Moderator

Joined: 19 Jan 2006 Posts: 7398 Location: EU, Germany, Next to Hamburg
|
Posted: Sun 20 Apr '14 18:53 Post subject: |
|
|
Well as it says: DEBUG. So you may change the loglevel in your config. |
|
Back to top |
|
servmgr2004
Joined: 18 Apr 2014 Posts: 3 Location: USA
|
Posted: Sun 20 Apr '14 19:22 Post subject: |
|
|
Right, but I am trying to figure out wher3 to make the changes. |
|
Back to top |
|
James Blond Moderator

Joined: 19 Jan 2006 Posts: 7398 Location: EU, Germany, Next to Hamburg
|
|
Back to top |
|
servmgr2004
Joined: 18 Apr 2014 Posts: 3 Location: USA
|
Posted: Mon 21 Apr '14 15:04 Post subject: |
|
|
I looked into the article, but I use the log4j logging. This is not dealing with the httpd file. |
|
Back to top |
|
James Blond Moderator

Joined: 19 Jan 2006 Posts: 7398 Location: EU, Germany, Next to Hamburg
|
Posted: Tue 22 Apr '14 22:51 Post subject: |
|
|
So it has nothing to do with apache...
Find in your code logger.setLevel(Level.DEBUG); |
|
Back to top |
|