Stdout.log file
My stdout.log file grows quite quickly (it's currently around 45MB and growing), however, because it's constantly in use it doesn't get rotated by my logrot process (I'm using LM3.2 on Windows 2003 Server).
Is there a reason why this file grows quite quickly and is there a way to rotate it without stopping the Daemons, renaming the file, and then restarting the Daemons??
If not, is there a maximum file I can let this file grow to without having to clear it?
Thanks Joe...
I stopped the Daemons and rotated the file on 23/12/09. The file is currently in excess of 75MB!!!
I've attached the last couple of hundred lines of the log to see if that gives you any clues as I'm perplexed by this.
Could there be a debug mode enabled somewhere in LMS?? I'm not sure which debug mode would write to the stdout.log file.
As usual, any help greatfully received.
Similar Messages
-
Rolling weblogic.stderr and weblogic.stdout log files
Is there a way of make the -Dweblogic.stderr and -Dweblogic.stdout log files, rotate by size or time? We are running into 100MB+ files because we can't find any documentation about how to rotate these files.
Thanks,
RajeshThe stdout and stderr output options in weblogic apply to the jvm process using the standard unix standard in/ standard out redirection; therefore, BEA has not included a native method to rotate these files.
However, in weblogic 10, if you place these files in the same directory as the weblogic output log (not to be confused with -D=/path/to/stderr.log and -D=/path/to/stdout.log they will be rotated every time you restart the server.
The other way to get fine-grained log rotation on these files is to use a standard log rotation mechanism such as logrotate: http://linuxcommand.org/man_pages/logrotate8.html
The other option is to address logging using an application framework such as log4j from a development standpoint.
As of right now, these are your only options, unless someone puts in a feature request to BEA. -
Hi,
Is there a way we can rotate .out log file.
I have written a shell script which will backup the log file and dump .out file.
#!/bin/bash
FILE=/opt/bea10/user_projects/domains/wl102xdomain/servers/ManagedServer1/logs/ManagedServer1.log
if cp $FILE ${FILE}.`date +%m%d`; then
cp /dev/null $FILE
fi
and run this as cron job
Can we use this ? (cp /dev/null), this will dump the .out file with out restarting the server.
Thanks,
Krishna.Yes John.. i am using startNodemanager.sh.
Is this the change OutFile=$ServerDir/logs/$ServerName.out you are talking about.
wlscontrol.sh file:
# Directory and file names
ServerDir=$DomainDir/servers/$ServerName
SaltFile=$DomainDir/security/SerializedSystemIni.dat
OldSaltFile=$DomainDir/SerializedSystemIni.dat
StateFile=$ServerDir/data/nodemanager/$ServerName.state
PropsFile=$ServerDir/data/nodemanager/startup.properties
PidFile=$ServerDir/data/nodemanager/$ServerName.pid
LockFile=$ServerDir/data/nodemanager/$ServerName.lck
BootFile=$ServerDir/security/boot.properties
RelBootFile=servers/$ServerName/security/boot.properties
NMBootFile=$ServerDir/data/nodemanager/boot.properties
RelNMBootFile=servers/$ServerName/data/nodemanager/boot.properties
OutFile=$ServerDir/logs/$ServerName.out
SetDomainEnvScript=$DomainDir/bin/setDomainEnv.sh
StartWebLogicScript=$DomainDir/bin/startWebLogic.sh
MigrationScriptDir=$DomainDir/bin/service_migration
Thanks,
Krish -
SAP BOXI 3.1 - Error in stdout.log
Hi all,
in the stdout.log file the following error occurs intermittently:
{ERROR} [/OpenDocument].[action] Thread [http-8080-Processor12]; Servlet.service() for servlet action threw exception
java.lang.IllegalStateException
at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:418)
at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:117)
at com.businessobjects.sdk.credential.WrappedServletResponse.sendError(WrappedServletResponse.java:30)
at com.wedgetail.idm.sso.AbstractAuthenticator.writeAuthenticationChallenge(AbstractAuthenticator.java:1936)
at com.wedgetail.idm.sso.MechChecker.authenticate(MechChecker.java:147)
at com.wedgetail.idm.sso.AbstractAuthenticator.authenticate(AbstractAuthenticator.java:1444)
at com.wedgetail.idm.sso.AbstractAuthenticator.checkAuthenticationOnly(AbstractAuthenticator.java:1330)
at com.wedgetail.idm.sso.AbstractAuthenticator.checkAuthentication(AbstractAuthenticator.java:1139)
at com.wedgetail.idm.sso.AuthFilter.doFilter(AuthFilter.java:148)
at com.businessobjects.sdk.credential.WrappedResponseAuthFilter.doFilter(WrappedResponseAuthFilter.java:66)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.businessobjects.webutil.BrowserRenderingModeFilter.doFilter(BrowserRenderingModeFilter.java:20)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
it happens only when i launch the crystal report instead of the webi report is all good.
We have a SSO Vintela configuration and it works fine.
Recently we notice that the user sessions not release, so we have modified the tomcat configuration for webapps.
We have implemented the note SAP note:
1886165 - How to terminate user
session manually in XI 3.1 and BI 4.0
1286471 - User session not released
for Tomcat in SAP BusinessObjects Enterprise XI 3.x
with success, but the error still remain.
I search in SAP market place but I didn't find anything.
The only doubt is that I've the parameter "logontoken.enabled" set to "false" and I find
this note:
1263840 - OpenDocument Single
sign-on without logon token
But we didn't implement the resolution.
Any one has the same error? Any one has implemented the last note with success?
Let me
know,
Cheers
Paoloanybody could help me?
-
APPS 11I:과도한 JVM LOGGING FILE DISCOGROUP.0.STDOUT이 생성됨
제품 : AOL
작성날짜 : 2005-10-17
APPS 11I:과도한 JVM LOGGING FILE DISCOGROUP.0.STDOUT이 생성됨
======================================================
PURPOSE
Unix Server 에 $IAS_ORACLE_HOME/Apache/Jserv/logs/jvm directory 에 log file 이 과도하게 생성 되었을 경우의 해결책을 제시한다.
Problem Description
$IAS_ORACLE_HOME/Apache/Jserv/logs/jvm directory 에 DISCOGROUP.0.STDOUT file size 가 점점 과도하게 증가 하여 resource 를 차지 하게 된다.
Workaround
N/A
Solution Description
Bug:3132644 에 의한 문제로 아래와 같이 조치 하여야 한다.
1. Please apply the latest released TXK Autoconfig roll up patch.
--2005년 10월 가장 최신의 TXK Autoconfig rollup patch는 4104924 이다.
2. Verify that variable s_jserv_std_log is disabled.
-- 해당 variable 은 $APPL_TOP/admin/<SID>_<Hostname>.xml (Applications Context File) 에서 확인 할 수 있다.
Reference Documents
Note. 275567.1 - Excessive JVM Logging Generated In DiscoGroup.0.stdout With Applications 11iHi;
Please shutdown all services first, when sometimes pass like 20 min check apps services down or not. Please check alert.log also for any error message
Also see below links
runaway processes
Re: runaway processes
script issue_urgent
If possible Please restart server
Regard
Helios -
Trace() via stdout instead of log file?
I'm new to Flex. I'm developing on a Mac running 10.5. I
discovered the information about mm.cfg, flashlog.txt, and the
debug flash player.
I was wondering if it's possible to have trace() send its
statements to stdout instead of to a log file. I run the debug
player from the command line anyway, so it would be awfully
convenient.
On a (possibly) related note, does anybody know what
TraceOutputFileEnable in mm.cfg actually does? As far as I can
tell, it has no effect on whether or not the logfile is
used.I clobbered together a solution to my problem. I wrote a
shell script that does what I want. It's a simple one-liner and,
most importantly, does not require that you create a mm.cfg file.
quote:
(path to the debug player)/Flash\
Player.app/Contents/MacOS/Flash\ Player $* 2>&1
It seems that the debug player actually writes its trace
output to stderr, but also apparently redirects stderr to the
flashlog.txt file. This script redirects stderr to stdout. I also
launch the player by specifying the executable inside the
application's container. This has two side effects: it blocks the
shell until the player quits, and it allows me to start multiple
players.
I hope this was useful to somebody else! Being able to see
the output of Flash Player in realtime is really important. If
anybody from Adobe reads this, it would be nice for this to be a
supported feature in future versions of Flash Player. -
Default Logging of stderr and stdout to files
Are stderr and stdout logged to a file as part of the default configuration?
Are stderr and stdout sent to weblogic.log, or to another file?
Are there parameters in the config.xml for re-directing stderr and stdout to
a file?
What should I be looking for?
Thanks in advance.
StanDepending on the platform, most people start Weblogic with a shell or batch
or command script that redirects stderr and stdout ... sometimes to one file
sometimes to two different files. You can use the ">" and "2>" on
DOS/Windows/Linux/Unix to redirect stdout and stderr.
Peace,
Cameron Purdy
Tangosol, Inc.
Clustering Weblogic? You're either using Coherence, or you should be!
Download a Tangosol Coherence eval today at http://www.tangosol.com/
"Stan" <[email protected]> wrote in message
news:[email protected]..
Are stderr and stdout logged to a file as part of the defaultconfiguration?
Are stderr and stdout sent to weblogic.log, or to another file?
Are there parameters in the config.xml for re-directing stderr and stdoutto
a file?
What should I be looking for?
Thanks in advance.
Stan -
hello everyone,
I recently used Oracle SOA Suite 10g to deploy my WAR file in it, i found the log file which contains the stdout and stderr in "ORA_HOME\opmn\logs\default_group~home~default_group~1.log".
My question is: How can I view this log file through the Application Server Control?Hi Hussam,
received your screen shot and it just misses the vital pieces, the content above the blue line. On the upper right left you will find four links called Setup, Logs, Help, Logout. Logs might be greyed out and not working. To make this working click on the name of type Application Server (J2EE.wbt in your case). This will open a page for the Application Server. Logs should be a normal link now.
--olaf -
Rotate Log Files - stdout.log & stderr.log
Hi Folks,
Whats the best way to rotate stdout.log & stderr.log.
I am assuming that rolling of these files can not be configured using felix (please correct me if I am mistaken)
Please advice!
Thanks,
AdnanHi Adnan,
There is currently no way to rotate stdout.log and stderr.log. Therefore, if you want to preserve the stdout.log and stderr.log so that they do not get truncated after restart, add the following commands before any other command in the start script.
# Move stdout.log and stderr.log
mv ../logs/stdout.log ../logs/stdout_$(date +%Y-%m-%d-%H%M).log
mv ../logs/stderr.log ../logs/stderr_$(date +%Y-%m-%d-%H%M).log
Another possible way is to disable the stdout.log and stderr.log entirely and instead output the information to the startup.log. Then you can rotate the startup.log instead.
a) To disable the stderr.log and stdout.log, i guess you can add these lines to your crx-quickstart/server/start script:
QUICKSTART_OPTS='-verbose -nobrowser'
export QUICKSTART_OPTS
b) To configure the path of the startup.log, you can add this to the start script as well (replace /path/to/startup.log with the path you would like the log to be written to instead):
CQ_LOG=/path/to/startup.log
export CQ_LOG
c) Then after doing this, there is a side effect that crx output will go to the startup.log as well. to fix this, do the following:
1) Go to crx-quickstart/server/runtime/0/_crx/log4j.xml
2) Comment out this element <appender-ref ref="console" /> from log4j.xml
<root>
<level value="info" />
<!-- appender-ref ref="console" /-->
<appender-ref ref="error" />
</root>
d) Also, now you would like to rotate the startup.log file:
"The file startup.log logs messages while the Servlet Engine starts. It is usually small, and you cannot configure it."
The startup log cannot be rotated with CQSE facilities. Please note that logs under /server is rotated at operating system level,
for more info see http://httpd.apache.org/docs/2.0/programs/rotatelogs.html
Unix workaround :
in serverctl script, replace the line :
exec $jvmExe >> "$CQ_LOG" 2>&1
by :
exec $jvmExe | /usr/sbin/rotatelogs "$CQ_LOG.%Y%m%d" 86400 >> /dev/null 2>&1
If this doesn't seem to work, then try
exec $jvmExe 2>&1 | /usr/sbin/rotatelogs "$CQ_LOG.%Y%m%d" 86400
Unfortunately, I did not found any workaround for windows system.
Hope this helps.
Thanks,
Varun -
Amending script to read list of computers, run script and output to log file
Hello all,
I have cobbled together a script that runs and does what I want, now I would like to amend the script to read a list of computers rather than use the msg box that it is currently using for the strcomputer, if the computers doesn't respond to a ping, then
log that, if it does continue with the script and when it is complete, log a success or failure. I have just started scripting and would really appreciate some help on this one,thanks. I created the script to fix an SCCM updates issue and failing task sequences,
so it may prove useful to others.
There are msg box entries that can be removed that were originally in there for the user running the script.
'setting objects
Dim net, objFSO, shell
Dim objFile, strLine, intResult
Set objnet = CreateObject("wscript.network")
Set objFSO = CreateObject("scripting.filesystemobject")
Set objshell = CreateObject("wscript.shell")
strfile = "c:\wuafix\wuafix.vbs"
strUser = "domain\user"
strPassword = "password"
'getting server name or IP address
strComputer=InputBox("Enter the IP or computer name of the remote machine on which to repair the WUA agent:", "Starting WUA Fix")
'check to see if the server can be reached
Dim strPingResults
Set pingExec = objshell.Exec("ping -n 3 -w 2000 " & strComputer) 'send 3 echo requests, waiting 2secs each
strPingResults = LCase(pingExec.StdOut.ReadAll)
If Not InStr(strPingResults, "reply from")>0 Then
WScript.Echo strComputer & " did not respond to ping."
WScript.Quit
End If
'Check if source file exists
If Not objFSO.FileExists(strFile) Then
WScript.Echo "The source file does not exist"
WScript.Quit
End If
MsgBox "The WUA Fix is in process. Please wait.", 64, "Script Message"
'mapping drive to remote machine
If objFSO.DriveExists("Z:") Then
objnet.RemoveNetworkDrive "Z:","True","True"
End If
objnet.MapNetworkDrive "Z:", "\\" & strComputer & "\c$", True
'creating folder for install exe on remote machine
If (objFSO.FolderExists("Z:\wuafix\") = False) Then
objFSO.CreateFolder "Z:\wuafix"
End If
'copying vbs to remote machine
objFSO.CopyFile strFile, "Z:\wuafix\wuafix.vbs"
'set command line executable to run a silent install remotely
strInstaller1 = "cscript.exe c:\wuafix\wuafix.vbs"
'strInstaller2 = "c:\wuafix\wuafix.vbs"
strExec = "c:\pstools\PsExec.exe "
'objshell.Run strExec & " \\" & strComputer & strInstaller1
On Error Resume Next
result = objshell.Run(strExec & " \\" & strComputer & " " & strInstaller1)
If Err.Number = 0 Then
WScript.Echo "PSXEC Runing WUA fix remotely"
Else MsgBox Err.Number
MsgBox result
End If
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colLoggedEvents = objWMIService.ExecQuery _
("SELECT * FROM Win32_NTLogEvent WHERE Logfile = 'Application' AND " _
& "EventCode = '4'")
Wscript.Echo "Event Viewer checked and Fix Applied:" & colLoggedEvents.Count
MsgBox "Removing mapped drive Please wait.", 64, "Script Message"
If objFSO.DriveExists("Z:") Then
objnet.RemoveNetworkDrive "Z:","True","True"
End If
MsgBox "The WUA Fix has been applied.", 64, "Script Message"
quit
wscript.quit
Any help appreciated and explanations on the process would be great as I would like to learn the process involved, which is difficult when working during the day.
many thanksHi Bill,
long story short, I have approx. 2800 clients with an old entry in WMI for updates that the sccm client cannot clear or run because they do not exist anymore, so the client will not run updates or use a task sequence because of this, so my script fixes this
and does a couple of other things, I have found another way to do this by running a different script that uses WMI to call a cscript function that uses the wuafix.vbs that is coped to the machine, I am also changing the echo entries to output to a log
file instead so that I can track what client has run the fix andn which ones haven't.
If you have any suggestions then please let me know, nothing nefarious :)
many thanks -
How to set server log file severity
Will some one suggest how to set the severity for messages logged by server to server log file. The admin console consists of setting "Stdout Severity Threshold" which is applicable only to standard out. I need to restrict info messages to be logged in server log file.
Which release of WebLogic Server are you using? In WebLogic 9.0 there is an attribute on the LogMBean called LogFileSeverity which could be configured to "Warning" so it will not allow Debug and Info level messages to be written to the server log file. In the 8.1 release you would need to do this programatically using a startup class, by getting a reference to the server Logger by invoking weblogic/logging/LoggingHelper.getServerLogger() and setting the appropriate weblogic/logging/WLLevel on the weblogic/logging/FilestreamHandler that writes to the server log file.
Hope this helps
Sandeep -
Regarding Log4.xml to add timestamp in log file
Dear Sir,
Could you guide me how to append the timestamp got appeared in log file which has been generated from Log4j.xml?? This is my Log4j.xml.
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"> <!-- Order of child elements is appender*, logger*, root?. --> <!-- Appenders control how logging is output. --> <appender name="CM" class="org.apache.log4j.FileAppender"> <param name="File" value="Master.log"/> <param name="Threshold" value="DEBUG"/> <param name="Append" value="true"/> <param name="MaxFileSize" value="1MB"/> <param name="MaxBackupIndex" value="1"/> <layout class="org.apache.log4j.PatternLayout"> <!-- {fully-qualified-class-name}:{method-name}:{line-number} - {message}{newline} --> <param name="ConversionPattern" value="%C:%M:%L - %m%n"/> </layout> </appender> <appender name="stdout" class="org.apache.log4j.ConsoleAppender"> <param name="Threshold" value="INFO"/> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%C:%M:%L - %m%n"/> </layout> </appender> <!-- Logger hierarchy example: root - com - com.ociweb - com.ociweb.demo - com.ociweb.demo.LogJDemo --> <!-- Setting additivity to false prevents ancestor categories for being used in addition to this one. --> <logger name="com.tf" additivity="true"> <priority value="DEBUG"/> <appender-ref ref="CM"/> </logger> <!-- Levels from lowest to highest are trace, debug, info, warn, error, fatal & off. --> <!-- The root category is used for all loggers unless a more specific logger matches. --> <root> <appender-ref ref="stdout"/> </root> </log4j:configuration> It would be great, if you could give the solution for this. There is no probs in getting timestamp from the folowing properties file Log4j.properties: # # Configure the logger to output info level messages into a rolling log file. # log4j.rootLogger=DEBUG, R log4j.appender.R=org.apache.log4j.DailyRollingFileAppender log4j.appender.R.DatePattern='.'yyyy-MM-dd # # Edit the next line to point to your logs directory. # The last part of the name is the log file name. # log4j.appender.R.File=c:/temp/log/${log.file} log4j.appender.R.layout=org.apache.log4j.PatternLayout # # Print the date in ISO 8601 format # log4j.appender.R.layout.ConversionPattern=%d %-5p %c %L - %m%n but i need it from Log4j.xml
thanks in advance maniDear Sir,
Could you guide me how to append the timestamp got appeared in log file which has been generated from Log4j.xml?? This is my Log4j.xml.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration
xmlns:log4j="http://jakarta.apache.org/log4j/">
<!-- Order of child elements is appender*, logger*, root?. -->
<!-- Appenders control how logging is output. -->
<appender name="CM" class="org.apache.log4j.FileAppender">
<param name="File" value="customer_master.log"/>
<param name="Threshold" value="DEBUG"/>
<param name="Append" value="true"/>
<param name="MaxFileSize" value="1MB"/>
<param name="MaxBackupIndex" value="1"/>
<layout class="org.apache.log4j.PatternLayout">
<!-- {fully-qualified-class-name}:{method-name}:{line-number}
- {message}{newline} -->
<param name="ConversionPattern" value="%C:%M:%L - %m%n"/>
</layout>
</appender>
<appender name="stdout" class="org.apache.log4j.ConsoleAppender">
<param name="Threshold" value="INFO"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%C:%M:%L - %m%n"/>
</layout>
</appender>
<!-- Logger hierarchy example:
root - com - com.ociweb - com.ociweb.demo - com.ociweb.demo.LogJDemo
-->
<!-- Setting additivity to false prevents ancestor categories
for being used in addition to this one. -->
<logger name="com.tf" additivity="true">
<priority value="DEBUG"/>
<appender-ref ref="CM"/>
</logger>
<!-- Levels from lowest to highest are
trace, debug, info, warn, error, fatal & off. -->
<!-- The root category is used for all loggers
unless a more specific logger matches. -->
<root>
<appender-ref ref="stdout"/>
</root>
</log4j:configuration>It would be great, if you could give the solution for this. There is no probs in getting timestamp from the folowing properties file Log4j.properties:
# Configure the logger to output info level messages into a rolling log file.
log4j.rootLogger=DEBUG, R
log4j.appender.R=org.apache.log4j.DailyRollingFileAppender
log4j.appender.R.DatePattern='.'yyyy-MM-dd
# Edit the next line to point to your logs directory.
# The last part of the name is the log file name.
log4j.appender.R.File=c:/temp/log/${log.file}
log4j.appender.R.layout=org.apache.log4j.PatternLayout
# Print the date in ISO 8601 format
log4j.appender.R.layout.ConversionPattern=%d %-5p %c %L - %m%nthanks in advance -
Incosistencies between Analyzer Server Console and stout.log file
Hi,<BR><BR>In stout.log file of application server file there is a record:<BR>"Setting Current User Count To: 2 Users. Maximum Concurrent Licensed User Count Is: 10 Users." So 2 licences are ured, but checking "Analyer Server Console" there is only one user connected.<BR><BR>After restarting computer "Analyzer Server Console" and stout.log number of users are sinhronized. But I don't know what happens, but after some time this two parameters are not sinhronized anymore.<BR><BR>My problem: I have to show the number of user licences used and I am reading info rom stout.log. But something is not correct - it looks like stout.log doesn't show correct values?<BR><BR>Do I need to specify some setting or is there a bug in code?<BR><BR><BR>My system:<BR>Hyperion Analytic Server version 7.1.0<BR>Hyperion Analyzer Server version 7.0.1.8.01830<BR>IBM DB2 Workgroup Edition version 8 fixpack 9<BR>Tomcat version 4<BR>Windows 2003 Server
Hi grofaty.<BR><BR>We use 7.0.0.0.01472 and I had experienced the same behaviour, <BR>Analyzer Server Console shows one more session than stdout.log.<BR><BR>If this difference 1 is a static value than you can assume it as an systematic bug...and do your license counting on it...<BR><BR>But again the Analyzer Server Console is not good as it should be for productive usage because all the information is only logged online til the next application restart. E.g. it is not helpful in using it for user tracking purposes. Do you use the stdout.log in such a way or have an idea how to grep measures for session logging analysis:<BR> - Session ID <BR> - User ID<BR> - Client ID <BR> - Total Number of Requests <BR> - Average Response (sec) <BR> - Login Time<BR> - Number of concurrent sessions<BR><BR>?
-
Managing and configuring log files for Oracle 9ias
Hi all,
I'm wondering where I can find documentation on managing and configuring log files like:
ORACLE_HOME/admin/ sid/*dump/* ORACLE_HOME/assistants/opca/install.log ORACLE_HOME/webcache/logs/*
ORACLE_HOME/dcm/logs/*
ORACLE_HOME/ldap/log/*
ORACLE_HOME/opmn/logs/*
ORACLE_HOME/sysman/log/*
ORACLE_HOME/j2ee/ OC4J_instance/log/*/* ORACLE_HOME/config/schemaload.log ORACLE_HOME/config/useinfratool.log
because I didn't find anything in document like:
Oracle9 i Application Server
Administrator�s Guide
Release 2 (9.0.2)
May 2002
Part No. A92171-02
So, if anyone has any idea...
Thanks in advanceDoes anyone know how or if it is possible to send the stdout and/or stderr to the log4j type of logging? I already capture the stdout and stderr to the flat file. But I would like to timestamp every line to compare and diagnose problems with each application that encounters problems. Each web app is using log4j to their own application log4j log file. When they encounter errors or resource draining problems, I would like to see the container logs and see what was occuring inside the container at around that same time.
Any ideas? -
Collect Thread Dump using Script and direct to separate log file
Dear Legends,
I request you to provide me some useful guide lines to collect Thread Dump using script in linux and redirect the output to a separate log file, not the STDOUT file. If it is redirecting to STDOUT then how to extract only the thread stack to a separate log file.
i used
ps -ef | grep java
kill -3 <pid> >> ss1_td.log
but it is not providing the thread stack to the log file.
Anykind of help would be appreciated much.
Regards,
KarthikHi Ram,
Really a great and useful script for me at the right time. It solved my requirement and i made some changes to my requirement and the script it working fine to collect the thread dump and even i have checked the thread dump with SAMURAI works fine.
Helpful site also refer sites like these which contains more valuable things for weblogic. We will meet in the forums again.
Note: also please update several links available in the site like UNIX scripts, WLST, Python etc.
Regards,
Karthik
Maybe you are looking for
-
Safety stock not covered by schedule lines in planning run
Hi ! In our organization we are trying to implement scheduling agreements and automatic creation of delivery schedule lines through MRP. We have MRP type PD and it considers the reservations created by PM orders and Production orders as requirement e
-
IPhoto opens when I sync iPhone 6 to iTunes...
So when I plug my iPhone 6 or iPad (4th gen) into my MBP to sync to iTunes, iPhoto opens. I don't want it to. In iPhoto I have checked No Application in the General preferences. I have several libraries (managed by iPhoto Library Manager) and I check
-
Using the send by Email for Review function
We are using Adobe Acrobat 8 and would like to use the send by Email for Review function. We would like to modify the text for the invitation message but don't want to have to modify it every time we use the function. Does anybody know any way that w
-
Logon screen appears but hangs at 'Loading data...'
Hello, I have a problem that I cannot logon to SAP R3. After typing my username and password in the logon screen, the hourglass shows and the message 'Loading data...' appears in the statusbar. Nothing else happens. When I try to logon for the second
-
My iPhone 4 won't sync podcasts manually.
Ever since I got iTunes 10 I have been having problems with podcasts. My iPhone 4 will not allow podcasts to be manually added. It will only allow podcasts to be synced by playlists. This is a pain because podcasts constantly get new episodes and I s