Path: csiph.com!usenet.pasdenom.info!news.albasani.net!.POSTED!not-for-mail From: Lew Newsgroups: comp.lang.java.programmer Subject: Re: Logging problem Date: Sat, 10 Mar 2012 10:04:02 -0800 Organization: albasani.net Lines: 93 Message-ID: References: <11598111.961.1331330200504.JavaMail.geo-discussion-forums@pbcr5> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.albasani.net 2F+PyL1QuFILCtUOlY9P9DwaHnBU9eiIeE7KSZ6R7Y2ScOzRt7hm4ZDVWeCHyawNB78ekZWZlQ7bI8TuFYFCNlz9tYQMhbq7HIJM9UEdHkdBTOaChXcc1N4619GX+tpj NNTP-Posting-Date: Sat, 10 Mar 2012 18:03:59 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="8ZfmxtMMgSN3OESYveQLJCQWGabOC9mMdrCR+a/PaqDld4mvaxRGBNkiqFtCgV+gMEjOpeueiR9fS83iP7KPYhVyxSdisnd9LE5AbMxtsG5cgpDTyLxZ6exM8SCnqP+x"; mail-complaints-to="abuse@albasani.net" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 In-Reply-To: Cancel-Lock: sha1:dezpgNAUUbNjZGz9Bq1B5xN9ots= Xref: csiph.com comp.lang.java.programmer:12847 Arved Sandstrom wrote: > Martin Gregorie wrote: >> That is a disadvantage of using desktop Windows, which doesn't believe in >> logs. > > Come, come, Martin, desktop Windows isn't quite so bad. :-) Windows > events go into the Application log, the Security log or the System log > and are what we see through the Event Viewer. Arved's answering your question: these are examples you can see, Novice. > It's quite decent logging actually, although the utility of the > Application log is determined entirely by what applications choose to > write to Windows events. This is rather the point of understanding logs from the reader's standpoint. It's an exercise in projective empathy. You have to project yourself into a future and identify with some poor shnook who has to suss out what's going on, and why, with a shrieking customer and nothing to go on but log output and too much coffee, and you have to care. > As a sidenote, log4j and log4net, among other frameworks, can write to > Windows events. > > I don't know whether Windows Server uses them, so the best I can do >> is suggest that, if you have a suitable box [1], you put one of the Linux >> flavours[2] on it, have a play with it and then take a look at the files >> in /var/log/ with "less". [SNIP/REARRANGE] >> Novice wrote: >>> Lew wrote: >>>> Have you looked at any real system's logs? >>>> >>> No. >>>> You should. >>>> >>> I agree. Can you point me to any? I don't have any. I wonder what a Google search might reveal. Hmm, let me see, I wonder ... (imagination running wild) Could it be ... ? From that: [09/03/2004 21:59:18.060 GMT] fadef4b T: com.ibm.mm.beans.CMBConnection CMBConnection.connect() entered. [09/03/2004 21:59:18.070 GMT] fadef4b T: com.ibm.mm.beans.CMBConnection CMBConnection._createNewDS() entered. [09/03/2004 21:59:18.070 GMT] fadef4b T: com.ibm.mm.beans.CMBConnection CMBConnection._createNewDS() =>datastore className= com.ibm.mm.sdk.server.DKDatastoreICM [09/03/2004 21:59:18.310 GMT] fadef4b T: com.ibm.mm.beans.CMBConnection Args[0] is null, no arg constructor called for com.ibm.mm.sdk.server.DKDatastoreICM [09/03/2004 21:59:18.430 GMT] fadef4b T: com.ibm.mm.beans.CMBConnection CMBConnection._createNewDS()=> datastore created with args=null [09/03/2004 21:59:18.430 GMT] fadef4b T: com.ibm.mm.beans.CMBConnection CMBConnection.connect()=> com.ibm.mm.CMBConnection[connection type=0,clientURLObj=null,csURLObj=null, serviceConnectionType=0,serviceClientURLObj=null, serviceCsURLObj=null,dataManagementEnabled=true, schemaManagementEnabled= true,workflowDataManagementEnabled=true,dsType= ICM,serverName=icmnlsdb,portNo=0, servicePortNo=0,RMIHostname=, serviceRMIHostname=, userid=icmadmin,isConnected=false] [09/03/2004 21:59:18.430 GMT] fadef4b T: com.ibm.mm.beans.CMBConnection Connecting to server. Please wait... [09/03/2004 21:59:22.486 GMT] fadef4b T:com.ibm.mm.beans.workflow.CMBWorkFlowDataManagement -- Lew Isn't that special?