Results 1 to 6 of 6
- 05-09-2012, 05:02 PM #1
Member
- Join Date
- May 2012
- Posts
- 9
- Rep Power
- 0
Java runtime logging to hard disk
Hi there, im a System Admin with no java programming knowledge at all
Basically staff here use some java apps, some users have issues where the app will be working perfectly well and then they are disconnected. The java developer told me to up the heap size on one pc using the -Xmx512m command, but this didnt help.
The user has the jave console log open all of the time, but when he is disconnected it closes the java run time which also closes the java console, so i am unable to see why the problem occured.
What I would like to do if possible is for the java console to log everything to hard disk at the same time, is this possible?
Thanks
Damien
- 05-09-2012, 05:35 PM #2
Moderator
- Join Date
- Apr 2009
- Posts
- 10,481
- Rep Power
- 16
Re: Java runtime logging to hard disk
You mean the apps they use don't log to a file?
Blimey.
Anyway, here's the Tracing and Logging page, about midway it mentions how to turn tracing on with the console.Please do not ask for code as refusal often offends.
- 05-10-2012, 01:41 PM #3
Member
- Join Date
- May 2012
- Posts
- 9
- Rep Power
- 0
Re: Java runtime logging to hard disk
Thats a very interesting read thanks, and no they arent logging to a file which everyone really should be!!!! With this in mind I was hoping there would be a way to turn on logging without having to run around to everyones pc. For example I notice there is a file under Program Files\Java\jre7\lib called logging.properties, I dont suppose I could customise this and it send it out to everyone via the logging script to enable logging?
The problem I forsee is that with every java update the logging settings may be changed, when really the logging should be a constant thing.
Many thanks
- 05-11-2012, 09:30 AM #4
Moderator
- Join Date
- Apr 2009
- Posts
- 10,481
- Rep Power
- 16
Re: Java runtime logging to hard disk
How do they launch their apps?
Could you add the '-Djavaplugin.logging=true' part to whatever they use to launch?
Not sure exactly how you'd manage that, of course.
I was sort of hoping the console would remember the settings between launches.Please do not ask for code as refusal often offends.
- 05-11-2012, 02:16 PM #5
Re: Java runtime logging to hard disk
Moved from Java JRE
dbWhy do they call it rush hour when nothing moves? - Robin Williams
- 05-11-2012, 04:04 PM #6
Member
- Join Date
- May 2012
- Posts
- 9
- Rep Power
- 0
Re: Java runtime logging to hard disk
They start the app via a website login page. As far as I can tell i think i'm going to have run around to every pc to enable logging via the windows control panel, java.
I will keep reading for the next couple of days though and if I find a way to set this centrally I'll let you know, but if anyone else knows please let me know!
Similar Threads
-
help how to retrieve image in jtable without writing a picture into hard disk?
By knowmeifyou in forum NetBeansReplies: 25Last Post: 04-09-2012, 04:33 AM -
Serial number of exernal hard disk/Thumbdrive
By manucng in forum NetworkingReplies: 13Last Post: 11-14-2011, 08:09 AM -
Hard Disk Bottleneck
By urbanleg in forum New To JavaReplies: 3Last Post: 09-27-2011, 03:02 PM -
How to Retrive Information about USB Disk through Java?
By shatztal in forum Java AppletsReplies: 2Last Post: 07-18-2011, 01:51 PM -
Retrieve Image From Hard Disk
By sayan751 in forum AWT / SwingReplies: 3Last Post: 02-20-2009, 03:29 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks