[jira] Commented: (DERBY-515) Network Server should log server start and shutdown time to derby.log

2006-02-24 Thread Bryan Pendleton (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-515?page=comments#action_12367681 ] Bryan Pendleton commented on DERBY-515: --- Committed derby-515-patch2-v1.diff to the trunk as revision 380722. http://svn.apache.org/viewcvs?rev=380722view=rev This was my

Re: [jira] Commented: (DERBY-515) Network Server should log server start and shutdown time to derby.log

2006-02-23 Thread Bryan Pendleton
Network Server should log server start and shutdown time to derby.log - Key: DERBY-515 URL: http://issues.apache.org/jira/browse/DERBY-515 I am intending to (re)review and commit derby-515-patch2-v1.diff in

Re: [jira] Commented: (DERBY-515) Network Server should log server start and shutdown time to derby.log

2006-02-23 Thread Deepa Remesh
On 2/23/06, Bryan Pendleton [EMAIL PROTECTED] wrote: Network Server should log server start and shutdown time to derby.log - Key: DERBY-515 URL: http://issues.apache.org/jira/browse/DERBY-515 I am

[jira] Commented: (DERBY-515) Network Server should log server start and shutdown time to derby.log

2006-02-21 Thread Deepa Remesh (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-515?page=comments#action_12367233 ] Deepa Remesh commented on DERBY-515: Suresh pointed out to me that this change caused the following failure in derbynetclientmats with 10.1 client and 10.2 server:

[jira] Commented: (DERBY-515) Network Server should log server start and shutdown time to derby.log

2006-02-19 Thread Bryan Pendleton (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-515?page=comments#action_12366971 ] Bryan Pendleton commented on DERBY-515: --- I checked derby-515-patch2-v1.diff. I thought it was a little odd that the diff contains changes to the two master files which

[jira] Commented: (DERBY-515) Network Server should log server start and shutdown time to derby.log

2006-02-19 Thread Kathey Marsden (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-515?page=comments#action_12366972 ] Kathey Marsden commented on DERBY-515: -- Bryan, would you be willing to commit this when you get the needed accounts and karma? Network Server should log server start

[jira] Commented: (DERBY-515) Network Server should log server start and shutdown time to derby.log

2006-02-19 Thread Bryan Pendleton (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-515?page=comments#action_12366973 ] Bryan Pendleton commented on DERBY-515: --- Yes, that sounds like a fine idea. Once I am fully set up, I will review and commit this change. Network Server should log

Re: [jira] Commented: (DERBY-515) Network Server should log server start and shutdown time to derby.log

2006-02-17 Thread Kathey Marsden
Deepa Remesh wrote: On 2/16/06, Kathey Marsden (JIRA) derby-dev@db.apache.org wrote: I committed this patch. I think it would be good to add a comment to the code regarding why we use CheapDateFormatter and GMT. On your questions 1. I found that the test derbynet/NSinSameJVM.java has two

[jira] Commented: (DERBY-515) Network Server should log server start and shutdown time to derby.log

2006-02-16 Thread Kathey Marsden (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-515?page=comments#action_12366714 ] Kathey Marsden commented on DERBY-515: -- I committed this patch. I think it would be good to add a comment to the code regarding why we use CheapDateFormatter and GMT. On

Re: [jira] Commented: (DERBY-515) Network Server should log server start and shutdown time to derby.log

2006-02-16 Thread Deepa Remesh
On 2/16/06, Kathey Marsden (JIRA) derby-dev@db.apache.org wrote: I committed this patch. I think it would be good to add a comment to the code regarding why we use CheapDateFormatter and GMT. On your questions 1. I found that the test derbynet/NSinSameJVM.java has two masters - one for

[jira] Commented: (DERBY-515) Network Server should log server start and shutdown time to derby.log

2006-02-15 Thread Deepa Remesh (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-515?page=comments#action_12366554 ] Deepa Remesh commented on DERBY-515: Thanks Bryan for looking at the patch. I chose GMT to keep it consistent with what is used for Derby boot message. The network server

Re: [jira] Commented: (DERBY-515) Network Server should log server start and shutdown time to derby.log

2006-02-15 Thread Bryan Pendleton
I chose GMT to keep it consistent with what is used for Derby boot message. Sounds good. About using xxFILTERED-VERSION-NUMBERxx, I did'nt see other tests doing it. I saw the current pattern in tests is to add master files with version number to release/build.xml file. I would like

[jira] Commented: (DERBY-515) Network Server should log server start and shutdown time to derby.log

2006-01-07 Thread Kathey Marsden (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-515?page=comments#action_12362113 ] Kathey Marsden commented on DERBY-515: -- A few thoughts looking at this patch. I am interested in input from others. 1) I think maybe we should print the time on the

Re: regarding derby.log being overwritten on startup. [was Re: [jira] Commented: (DERBY-515) Network Server should log server start and shutdown time to derby.log]

2005-08-22 Thread Mike Matrigali
I believe that the current log file format has been written to be easy to parse - but not as easy as looking for a single delimiter. Remember that the log file can contain arbitrary text - so not sure if a single delimiter will work. The worst case is log statement text which will print out

Re: regarding derby.log being overwritten on startup. [was Re: [jira] Commented: (DERBY-515) Network Server should log server start and shutdown time to derby.log]

2005-08-22 Thread Francois Orsini
I worked on some Output LOG Mgr years ago - it had support for various types of formatted-parameterizable log messages as well as being able to redirect certain mesage types (i.e. INFO, SEVERE, FATAL, DEBUG, TRACE, etc) to additional types of storage (FS, Table, etc) - One feature users like

Re: regarding derby.log being overwritten on startup. [was Re: [jira] Commented: (DERBY-515) Network Server should log server start and shutdown time to derby.log]

2005-08-22 Thread Rick Hillegas
Derby still has an error log reading VTI: ErrorLogReader. It shows how a reasonable engineer, in a pre-xml world, would approach the problem of parsing a log file and presenting it in tabular form. I retract my hasty suggestion that it would be easy to convert Derby logs to a more structured

[jira] Commented: (DERBY-515) Network Server should log server start and shutdown time to derby.log

2005-08-19 Thread JIRA
[ http://issues.apache.org/jira/browse/DERBY-515?page=comments#action_12319327 ] Øystein Grøvlen commented on DERBY-515: --- This would be even more helpful if the derby.log file was not overwritten on the next startup. (Probably a separate issue).

Re: [jira] Commented: (DERBY-515) Network Server should log server start and shutdown time to derby.log

2005-08-19 Thread Kathey Marsden
Øystein Grøvlen (JIRA) wrote: [ This would be even more helpful if the derby.log file was not overwritten on the next startup. (Probably a separate issue). The derby.infolog.append property is helpful in this regard. http://db.apache.org/derby/docs/10.1/tuning/rtunproper13217.html

Re: [jira] Commented: (DERBY-515) Network Server should log server start and shutdown time to derby.log

2005-08-19 Thread Øystein Grøvlen
KM == Kathey Marsden [EMAIL PROTECTED] writes: KM Øystein Grøvlen (JIRA) wrote: [ This would be even more helpful if the derby.log file was not overwritten on the next startup. (Probably a separate issue). KM The derby.infolog.append property is helpful

regarding derby.log being overwritten on startup. [was Re: [jira] Commented: (DERBY-515) Network Server should log server start and shutdown time to derby.log]

2005-08-19 Thread Sunitha Kambhampati
Øystein Grøvlen wrote: KM == Kathey Marsden [EMAIL PROTECTED] writes: KM Øystein Grøvlen (JIRA) wrote: [ This would be even more helpful if the derby.log file was not overwritten on the next startup. (Probably a separate issue). KM The

Re: regarding derby.log being overwritten on startup. [was Re: [jira] Commented: (DERBY-515) Network Server should log server start and shutdown time to derby.log]

2005-08-19 Thread David Van Couvering
Well, the most common solution is log rotation. On restart, you rename the old log to derby.log.1 and then derby.log.2 and so on. After n log files, you start over again at derby.log.1. This is also useful for long-running systems so you don't run out of disk space because of your error

Re: regarding derby.log being overwritten on startup. [was Re: [jira] Commented: (DERBY-515) Network Server should log server start and shutdown time to derby.log]

2005-08-19 Thread Rick Hillegas
At the risk of overloading this topic: While we're talking about improvements to our error logging, I'd like to see us emit more structured logs. This is one of the things that xml is actually good for. It would be pretty easy to turn our log records into xml entries. This would make it easy

Re: regarding derby.log being overwritten on startup. [was Re: [jira] Commented: (DERBY-515) Network Server should log server start and shutdown time to derby.log]

2005-08-19 Thread David Van Couvering
Please, God, no :). Machines like reading XML but people (at least certain people) find it a bit horrific. What I have seen done in the past is using a simple delimiter format, e.g. |Fri Aug 19 14:06:31 PST 2005|org.apache.derby.engine.impl.jdbc.EmbedConnection|Thread 275|Invalid user,

Re: regarding derby.log being overwritten on startup. [was Re: [jira] Commented: (DERBY-515) Network Server should log server start and shutdown time to derby.log]

2005-08-19 Thread Danesh
I agree with going the delimited format route. Having the database write out XML would probably impact preformance quite a bit. I also wonder what would happen if the database were to die (power failure or the like) and the XML file ended up invalid due to it missing those crucial few closing

Re: regarding derby.log being overwritten on startup. [was Re: [jira] Commented: (DERBY-515) Network Server should log server start and shutdown time to derby.log]

2005-08-19 Thread Sunitha Kambhampati
Actually, when derby.language.logStatementText=true is set, messages that are currently printed to derby.log uses a : delimiter format. e.g. . Begin compiling prepared statement : SELECT * from tbl1 : end compiling prepared statement etc... For really huge derby.log traces, I

Re: regarding derby.log being overwritten on startup. [was Re: [jira] Commented: (DERBY-515) Network Server should log server start and shutdown time to derby.log]

2005-08-19 Thread Rick Hillegas
XML is kind of dreary. I like your suggested format, David. It's easier to read and easy enough to transform into xml for tools which groove on that. Cheers, -Rick David Van Couvering wrote: Please, God, no :). Machines like reading XML but people (at least certain people) find it a bit

Re: regarding derby.log being overwritten on startup. [was Re: [jira] Commented: (DERBY-515) Network Server should log server start and shutdown time to derby.log]

2005-08-19 Thread RPost
, 2005 3:05 PM Subject: Re: regarding derby.log being overwritten on startup. [was Re: [jira] Commented: (DERBY-515) Network Server should log server start and shutdown time to derby.log] I agree with going the delimited format route. Having the database write out XML would probably impact