could be a silly question - debug and info level logs entries

17 views
Skip to first unread message

Christopher McAvaney

unread,
Nov 8, 2017, 10:59:07 PM11/8/17
to ReDBox
G'day all,

Does anybody know how (or what java command/environment variable) to turn off DEBUG level logs so that only INFO (and above) level logs come through?
I though the addition of javax.net.debug=all to the command path turned on DEBUG level logs, but when I turn that off, the DEBUG level logs still come through.

Help!

Regards,
Christopher

matt

unread,
Nov 8, 2017, 11:33:05 PM11/8/17
to ReDBox
Hi Chris
That is strange behaviour.
When you say 'off', did you remove the System property (a quick `ps  aux | grep redbo[x]` to check)?
The other place I might check would be the server/jetty/resources/logback.groovy in case DEBUG is set there?
Hope that helps :|
Matt

Andrew Brazzatti

unread,
Nov 8, 2017, 11:38:48 PM11/8/17
to redbo...@googlegroups.com
Hi Chris,

In ReDBox 1.6, the default logging was set to debug which was far too verbose for production instances. All subsequent releases it's been set to info with a debug config alongside it so that you can simply replace it to get more logging when needed.

If you pull down the latest from the repo, it should work fine even in older instances.


Thanks,
Andrew

--
-- Website: http://www.redboxresearchdata.com.au
 
You received this message because you are subscribed to the Google Groups ReDBox group. To post to this group, send email to redbo...@googlegroups.com. To unsubscribe from this group, send email to redbox-repo+unsubscribe@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/redbox-repo?hl=en
---
You received this message because you are subscribed to the Google Groups "ReDBox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redbox-repo+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Christopher McAvaney

unread,
Nov 9, 2017, 12:11:29 AM11/9/17
to ReDBox
Yes I did check that:
TEST environment:
...-Djavax.net.debug=all -DSTART=start.config -jar start.jar

PROD environment:
...-DSTART=start.config -jar start.jar

then removed the parameter and checked again, TEST again:
-DSTART=start.config -jar start.jar

After that still lots of DEBUG lines in the redbox logs.

Regards,
Christopher

Christopher McAvaney

unread,
Nov 9, 2017, 12:26:30 AM11/9/17
to ReDBox
That must be it:
[/opt/researchdata/redbox/server/jetty/resources] 142 chrismc@dr-footprints-ft1...
$ diff logback.groovy logback_debug.groovy
[/opt/researchdata/redbox/server/jetty/resources] 143 chrismc@dr-footprints-ft1...

Follow up question, does that -Djavax.net.debug=all have any effect at all then?

Regards,
Christopher


On Thursday, 9 November 2017 15:38:48 UTC+11, andrew wrote:
Hi Chris,

In ReDBox 1.6, the default logging was set to debug which was far too verbose for production instances. All subsequent releases it's been set to info with a debug config alongside it so that you can simply replace it to get more logging when needed.

If you pull down the latest from the repo, it should work fine even in older instances.


Thanks,
Andrew
On 9 Nov 2017 3:03 PM, "matt" <ma...@redboxresearchdata.com.au> wrote:
Hi Chris
That is strange behaviour.
When you say 'off', did you remove the System property (a quick `ps  aux | grep redbo[x]` to check)?
The other place I might check would be the server/jetty/resources/logback.groovy in case DEBUG is set there?
Hope that helps :|
Matt


On Thursday, November 9, 2017 at 1:59:07 PM UTC+10, Christopher McAvaney wrote:
G'day all,

Does anybody know how (or what java command/environment variable) to turn off DEBUG level logs so that only INFO (and above) level logs come through?
I though the addition of javax.net.debug=all to the command path turned on DEBUG level logs, but when I turn that off, the DEBUG level logs still come through.

Help!

Regards,
Christopher

--
-- Website: http://www.redboxresearchdata.com.au
 
You received this message because you are subscribed to the Google Groups ReDBox group. To post to this group, send email to redbo...@googlegroups.com. To unsubscribe from this group, send email to redbox-repo...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/redbox-repo?hl=en

---
You received this message because you are subscribed to the Google Groups "ReDBox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redbox-repo...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages