LMS3.2 log rotation (syslog_info)

Hi,
What should I do to get my syslog_info file rotated whenver the file grows to 512 megabytes in size? I've set up the log rotation in Common Services->Server->Admin but it doesn't seem to work, the file grew to 1.9 gigabytes.
Is there any process that should be running that monitors the logrotation?
Greets,
Tomek

Restarting dmgtd is not an option and most probably it would not work for that case.
I would like to see if any overgrown log file will rotate. For example - I set max log file size to 512 megabytes. And I expect that LMS will somehow monitor the size of the file (for example with an entry in crontab, or by a specified daemon) and rotate it whenver the log file exceeds previously set size.
That doesn't work that way. The file grows and exceeds set size. Only manual triggering of rotation process works as expected.
Is that a bug?

Similar Messages

  • LMS3.2 Log rotation problem

    Hi,
    we use LMS3.2 (windows single-server)  for ~4500 devices and have a problem with log rotation.
    That's our configured log roation:
    Name with location
    Size (kb)
    Format
    No.of Backups
    1.
    D:\CSCOpx\log\dcrclient.log
    102400
    gz
    3
    2.
    D:\CSCOpx\log\ICServer.log
    102400
    gz
    3
    3.
    D:\CSCOpx\log\syslog.log
    1024000
    gz
    5
    The backup directory is the same as the usual log directory. The size of the 3 files is already bigger than the configured size in log roation, see:
    dcrclient.log     2,1 GB
    ICServer.log     1,1 GB
    syslog.log        9,7 GB
    After the log roation configuration we restarted the daemon manager, but it's not working. There are no backup files created and the 3 files are still growing.
    Regards
    Hendrik

    After you configure the log rotation you need and restart the daemons, you need to schedule the job. The schedule buttong is available under
    Common Services -> Server -> Admin -> Log Rotation.

  • LMS3.2.1 - should my custom log rotation settings override log4j properties?

    For LMS 3.2.1 on Windows, I have configured log rotation settings for dcmaservice.log but the settings are ineffective, even after stop/start CW daemon manager.  Other posts on this forum state that dcmaservice.log rotation is managed by log4j but can also be configured in logrot.  Is this incorrect or have I encountered a bug in logrot?

    Gaganjeet,
    I'd like definitive answers to the following questions before continuing down this path.
    1) does log4j subsystem manage dcmaservice.log?
    2) if so, is there a log4j properties file for dcmaservice which can be edited to change log file size and number of versions to keep (eg. see the forum entry https://supportforums.cisco.com/message/664225#664225 re license.log)?
    3) can Common Services user-configurable log rotation override the parameters for logs managed by log4j subsystem?
    Thanks.

  • Syslog Log Rotation

    Dear,
    Just to understand syslog log rotation. I have configured syslog_info file for log rotation and size i have give is 100mb with 0 no of backups. I have scheduled it to run every week with a backup path. Basically i dont want any backups and i want the syslog_info to be overwritten when it reaches 100mb, are my setting correct?
    thanks,
    aamir

    yes that is right,
    you can see it also explained in the logrot document
    http://www.cisco.com/en/US/docs/net_mgmt/ciscoworks_common_services_software/3.1.1/user/guide/admin.html#wp645704
    Step 5 Specify the number of archive revisions. If you do not want to keep any archives, enter 0 (the default) for this option.
    hope this is what you are looking for.

  • Regarding internal daemon log rotation...

    I found a problem with internal daemon log rotation in iplanet webserver.it is not happening properly..........how to troble shoot this issue?

    Web Server 6.0 is EOSLed. Please move to the newer Web Servers 6.1 or 7.0. Check [http://www.sun.com/download/index.jsp?cat=Web%20%26%20Proxy%20Servers&tab=3&subcat=Web%20Servers|http://www.sun.com/download/index.jsp?cat=Web%20%26%20Proxy%20Servers&tab=3&subcat=Web%20Servers]. If you still have problems in these(6.1 or 7.0) versions of Web Server let us know.

  • Extended format of access.log and log rotation

    I am using WebLogic Server 6.1sp1. I want to use extended format of web
    server access log. I also want to use log rotation based on date. But it
    seems not to work together. After my investigation I can say:
    - access.log in common format can be rotated based on date an on size,
    - access.log in extended format (either in its default form or
    completely redefined) cannot be rotated neither based on date nor size.
    In the second case at first time WebLogic tries to rotate logfile
    IOException is thrown with a message like "java.io.IOException: Failed
    to rename log file on attempt to rotate logs". Than it throws
    IOException with a message "Exception flushing HTTP log file. (Bad file
    descriptor)." when it tries to flush content of logfile to the disk.
    After that WebLogic server stops to write to access.log.
    Is it possible to rotate access.log in extended format?
    Thanks,
    Andrzej Derlacki
    Infovide, Poland
    [email protected]
    [email protected]

    i am pasting the entries below which i see in the log( access_log ) . I don't see DEBUG in them.
    <AGENT_IP_ADDRESS> - - [29/Jun/2007:09:48:23 -0400] "GET /em/upload?ACTION=HEARTBEAT&EMD
    _URL=https%3a%2f%2flph010%2egep%2ege%2ecom%3a3872%2femd%2fmain%2f&HEARTBEAT_TI
    ME=2007-06-29+09%3a40%3a09&OUTSTANDING_SEVS=FALSE&EMD_UPTIME=2007-06-18+10%3a20%
    3a23&OLDEST_COLL_TIME=2007-06-29+09%3a40%3a09&INSTALL_TYPE=agent&X-ORCL-EMOV=4%2
    e0%2e0&X-ORCL-EMCV=10%2e2%2e0%2e1%2e0&X-ORCL-EMSV=10%2e2%2e0%2e1%2e0 HTTP/1.1" 2
    00 5
    <AGENT_IP_ADDRESS>- - [29/Jun/2007:09:48:23 -0400] "GET /em/upload?ACTION=HEARTBEAT&EM
    D_URL=https%3a%2f%2fprdes%2eeur%2egep%2ege%2ecom%3a3872%2femd%2fmain%2f&HE
    ARTBEAT_TIME=2007-06-29+15%3a48%3a23&OUTSTANDING_SEVS=FALSE&EMD_UPTIME=2007-06-1
    8+18%3a27%3a33&OLDEST_COLL_TIME=2007-06-29+15%3a48%3a23&INSTALL_TYPE=agent&X-ORC
    L-EMOV=4%2e0%2e0&X-ORCL-EMCV=10%2e2%2e0%2e1%2e0&X-ORCL-EMSV=10%2e2%2e0%2e1%2e0 H
    TTP/1.1" 200 5
    <AGENT_IP_ADDRESS> - - [29/Jun/2007:09:48:24 -0400] "GET /em/upload?ACTION=HEARTBEAT&E
    MD_URL=https%3a%2f%2fug038%2egep%2ege%2ecom%3a3872%2femd%2fmain%2f&HEARTBEAT_
    TIME=2007-06-29+22%3a19%3a35&OUTSTANDING_SEVS=FALSE&EMD_UPTIME=2007-06-18+18%3a3
    7%3a03&OLDEST_COLL_TIME=2007-06-29+22%3a19%3a35&INSTALL_TYPE=agent&X-ORCL-EMOV=4
    %2e0%2e0&X-ORCL-EMCV=10%2e2%2e0%2e1%2e0&X-ORCL-EMSV=10%2e2%2e0%2e1%2e0 HTTP/1.1"
    200 5

  • Agent log rotation

    Agent - Sunone Agent 2.1
    Webserver - IIS
    Policy Server - IS 6.0 SP1.
    How do you get the agent log to rotate on size/time? Is there a parameter?
    Currently we have to manually delete it.

    Log rotation feature available in 2.2 web agents. You need to find other ways to do it.
    -Subba

  • Log rotation problem

    We are running WLS 8.1.4 and have had a recurring problem with log rotation for quite a long time. It has happened on every machine we've used, running both Windows 2000 and XP. What we want to do is have our logs roll nightly, but it seems that no matter what time we set in the WLS console, the log ends up rolled at an arbitrary time.
    Our current configuration is the following:
    Server File Name: ourServerName_%MM%-%dd%-%yyyy%.log
    Rotation Type: By Time
    Rotation Time: 04:00
    File Time Span: 24 Hrs
    We have tried many permutations on the Rotation Time field, including removing or adding leading zeros as well as seeing if the time difference is constant due to a time zone issue, but no discernible pattern has emerged.
    For instance, the logs for the last few days have been rolled at exactly 2300, despite being set to roll at 0400. Other times it has been set to roll at 0204, and it will roll at 1104. One other thing to note: the minutes are always correct, but the hours are nearly always off.
    Any ideas?

    No, and I can verify that this problem has showed up at multiple sites configured by multiple people besides myself. As we are precisely following the specs laid out in the WLS 8.1 docs, I can only assume this is a bug.

  • [logging] Problems to configure logging rotation.

    Hi,
    I have an application .ear deployed in weblogic v10.3.1.0
    This application use java.util.logging to write a log file.
          fh = new FileHandler(logFileName,0,1,true);
          fh.setFormatter(new XMLFormatter());
          logger.addHandler(fh);
    FileHandler(String pattern, int limit, int count, boolean append)
    pattern - the pattern for naming the output file
    limit - the maximum number of bytes to write to any one file. If this is zero, then there is no limit. (Defaults to no limit).
    count - the number of files to use
    append - specifies append mode
    http://www.javadocexamples.com/java/util/logging/java.util.logging.FileHandler.html
    logFileName is dynamic with date formated like this yyyMMdd + ApplicationName + ".log"
    This file is created but I have also yyyyMMddSEC.log.1, yyyyMMddSEC.log.2, yyyyMMddSEC.log.3,...
    I DON'T WANT THESE FILES_, that's why I put limit to 0, count to 1 and append to true.
    This code works without jdev/weblogic but has not effect in weblogic.
    Q1. Why?
    So I go to Weblogic console: Domain Structure-> DefaultDomain->Logging
    Log file name: logs/DefaultDomain.log
    Rotation type: None
    NONE
    Messages accumulate in a single file.
    You must erase the contents of the file when the size is too large.
    Note that WebLogic Server sets a threshold size limit of 500 MB before it forces a hard rotation to prevent excessive log file growth.
    But it doesn't work, Weblogic continue to create log files like this *<filename>.log.<n>*
    Q2. Why?
    I have also created weblogic.xml in ViewControler/WEB-INF
    thanks to this documentation:
    http://download.oracle.com/docs/cd/E13222_01/wls/docs103/webapp/weblogic_xml.html#wp1063199
    but it doesn't work...again.
    Q3. Why?
    Q4. If I want applications manage themselves their log, how to deactivate the logging handler in weblogic (LogFileMBean?)
    Thanks for your help.

    You may want to ask in the WebLogic Server - Diagnostics / WLDF / SNMP forum. They own logging.

  • IPlanet 4.1 Web Server - ns-cron process hangs for log rotation

    Does anybody know if there is a known issue with iPlanet 4.1 Web Server where the ns-cron log rotation process hangs up?
    Basically it won't rotate any logs, and using either the "Stop" or "Restart" buttons in the console won't shut it down, so you have to kill it manually, then start it again.
    It seems like it will run for a couple days fine, then it will hang up.
    Thanks.

    Nope, I've not seen this before. But 4.1 version is really old and no longer supported, you should consider upgrading to a supported version.

  • Weblogic 5.1 SP 6 log rotation

    Hi all,
    I use Weblogic SP6 and, as there is a rotation with the access.log
    file, I would like to configure a log rotation for the weblogic.log
    file because it increases quickly. But, there seems to be no property
    to configure that.
    I tried to do it with system commands but this always makes with
    Weblogic server fail. Does anyone has already done that and how?
    Thanks in advance
    Fanny

    Hi there,
    I've managed to configure XSQL with Weblogic 5.1 SP6 and to run the demos from the Oracle site.
    My system configuration is :
    -Windows NT 4.0
    -Weblogic 5.1 SP 6
    -Oracle 8.1.7
    -Xalan version=2.0.1
    -Xerces version=1_3_1 (Support SAX2)
    CLASSPATH="${oradriver.lib}:${servlets.lib}:${jaxp.lib}:${xerces.lib}:${xalan.lib}:${xsql.lib}:${weblogic.home.dir}/lib/weblogic510sp${weblogic.sp.version}boot.jar:${weblogic.home. dir}/classes/boot"
    WEBLOGIC_CLASSPATH="${jaxp.lib}:${xerces.lib}:${xalan.lib}:${xsql.lib}:${weblogic.lib}:${jdom.lib}:${oreilly.lib}:${jdriver.lib}:${build.classes.dir}"
    Now when trying to integrate my XSQL framework in the big picture of the webapp - I'm getting errors.
    the error is:
    =============================================
    <WebAppServletContext-ads> looking for taglib uri
    /tlds/taglib.tld as resource /WEB-INF/tlds/taglib.tld
    in Web Application root:
    Sat Jun 16 14:30:37 PDT 2001:<E>
    <WebAppServletContext-ads> Servlet failed with
    Exception
    java.lang.NoSuchMethodError:
    javax.servlet.jsp.tagext.TagAttributeInfo: method
    <init>(Ljava/lang/String;ZZLjava/lang/String;)V not
    found
    at
    weblogic.servlet.jsp.MyAttInfo.<init>(StandardTagLib.java:34)
    at
    weblogic.servlet.jsp.StandardTagLib.processTag(StandardTagLib.java:280)
    =========================================
    If I remove from the classpath the servlets.lib(which contains servlets.jar) I'm able to access my webapp again but I cannot process the .xsql extensions.
    -the error from Weblogic appserver is:
    cannot find XSQLServletPageProcessor
    My question is that somebody has any ideea of what other type of servlet lib will be needed or if something else in the configuration files has to be modified?
    Thanks in advance,
    dan stepanov
    null

  • Performance Degrades w/ Log Rotation On

    I am running WLS 7.0 on Solaris 8. We are running an application in a single
    weblogic server instance. We are using this environment to do functionality testing
    of our application. When we turn on log rotation (generate 5 logs w/ max of 500K)
    performance severely degrades. As soon as we turn off log rotation and use a
    single log file the performance returns to acceptable levels.
    Does anyone have a clue as to why this happens and if there is something that
    can be done to correct this problem?
    Thanks in advance!

    I am running WLS 7.0 on Solaris 8. We are running an application in a single
    weblogic server instance. We are using this environment to do functionality testing
    of our application. When we turn on log rotation (generate 5 logs w/ max of 500K)
    performance severely degrades. As soon as we turn off log rotation and use a
    single log file the performance returns to acceptable levels.
    Does anyone have a clue as to why this happens and if there is something that
    can be done to correct this problem?
    Thanks in advance!

  • Change beasvc.exe default stdout log rotation parameters in WLS10.0

    Weblogic Server 10.0:
    I'm trying to change default log rotation parameters for weblogic server service as suggested here:
    http://edocs.bea.com/wls/docs100/server_start/winservice.html#wp1193277
    my installsvc.cmd contains:
    set ROTATION_TYPE = TIME
    set TIME_START_DATE = Jun 12 2008 15:07:00
    set TIME_INTERVAL_MINS = 3
    set STD_LOG=C:\logs\stdout.log
    beasvc.exe -install.... -log:"%STD_LOG%"
    This is the sniplet from the stdout.log:
    [Thu Jun 12 15:45:09 2008] [initLog] initializing logger
    [Thu Jun 12 15:45:09 2008] [E] [initLog] No 'ROTATION_TYPE' header found. 'TIME' based rotation will be used by default.
    [Thu Jun 12 15:45:09 2008] [E] [initLog] No 'TIME_START_DATE' header found or value is invalid. Rotation will take place every 24 hours beginning today at 23:59:59
    [Thu Jun 12 15:45:09 2008] [E] [initLog] No 'TIME_INTERVAL_MINS' header found. Using the default value of 24 hours.
    [Thu Jun 12 15:45:09 2008] [I] [initLog] TIME based log rotation is ON
    [Thu Jun 12 15:45:09 2008] [I] [trigger] First rotation due in 29690 secs
    [Thu Jun 12 15:45:09 2008] [I] [ServiceStart] console allocation successful. THREAD_DUMP redirection enabled
    [Thu Jun 12 15:45:09 2008] [I] [ServiceStart] About to execute CreateThread()
    the service then starts ok and works with default settings, but that's not what I'm looking for...
    any ideas are welcome ;)
    thanks!

    yes, the parameters are set when service is being installed. Also, I can see in the log when changes are made to the parameters and service reinstalled.

  • LMS - log rotation based on time period

    Dear All
    can we configure log rotation to be based on time period (ex:past one year)instead of log file size.
    if it is feasable please advise who to do it?
    Regards;
    Antonio

    I am not sure if I understand it correct, but you can do this easily by defining the expected file size of the log file to rotate;
    logrot runs on a scheduled basis and checks if the log file has reached the defined file size - if not it will do nothing else the file will be backed up. The key point is the configured file size;
    I use this for the syslog file to have a backup for each month:
        schedule logrot to run every first of each month and set the file size to a low value guarantes that I ve got a file for every month;
    from the online help of logrot:
    http://:1741/help/cmf/index.html?sysad_adm_logrotate.html
    4. Specify the number of archive revisions. If you do not want to keep any archives, enter 0 (the default) for this option.
    5. Specify the maximum file size. The log will not be rotated until this size is reached. The unit is in kilobytes (KB). The default is 1024 KB or 1 MB.
    why do you want to keep all log messages of a complete year in one file - what do you want to do?

  • Cron-based log rotation problem

    In setting up Sun Web Server 6.1 2005Q4 SP5, I successfully restarted schedulerd after setting up cron-based log rotation for 12 AM for each Web instance. But still no rotated logs. I notice these messages in /app/sunone/https-admserv/logs/scheduler.error:
    Tue Mar 14 00:00:00 2006: Warning: cron has no information about finished child process 11303
    Tue Mar 14 23:00:03 2006: Warning: Process 11303 didn't finish in time, had to terminate it
    Any ideas?
    Thanks!

    This bug is addressed in SunSolve:
    Document ID:     4953147
    Title:     cron based log rotation fails when admin user is root and instance is non-root
    The workaround is to update this line in WS_ROOT/https-admserv/config/scheduler.conf:
        User <non-root user ID such as "nobody">to:
        User rootThen I restarted cron from the Server Manager to make sure the change was picked up.

Maybe you are looking for

  • Blackberry Desktop Software only synchronizes with folder Outlook in Microsoft Outlook

    Blackberry Desktop Software only synchronizes with folder Outlook in Microsoft Outlook.  But, folders (.PST files) may be renamed and there may be multiple such folders open in Outlook at any time.  I have six, none of which is named Outlook.  Two of

  • Win10: 7.5.0.102 crashes after changing language v...

    Windows 10 build 10130 @ English MUI Skype 7.5.0.102 Language changing is set up to use Alt+Shift+(1\2\3) to switch to English\Russian\Ukrainian accordingly. After pressing Alt+Shift+2 or Alt+Shift+3 in any chat Skype stops responding. Bug existed si

  • Sun ONE webserver crashes.....

    Hi I have installed Sun ONE webserver along with portal, directory and identity server. Suddenly the webserver crashes and gives me the following messages in the "Error" log. catastrophe (15171): CORE3260: Server crash detected (signal SIGSEGV) info

  • Retrieve new row's auto-increment key from dataprovider

    ** cross posted on SDN JSC Forum and Netbeans J2EE Nabble forum ** I have a page that is bound to a MySQL table rowset or, alternately, a new (append()'ed) row. The row's Primary Key is a MySQL auto-increment Integer (translates to a Long.) After com

  • Image Swap or Rolloover Image?

    I am working in CS3 DreamWeaver and trying to make a gallery of smaller images that show a larger version of the image when the mouse rolls over it. What is the best way to accomplish this? The smaller buttons are in a row and the larger image shows