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

Similar Messages

  • 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 logs not being generated

    On a recent installation of 2 x Exchange Server 2013 Cumulative Update 2 (CU2-v2), neither server appears to be generating Agent Logs. The default path for such logs (C:\Program Files\Microsoft\Exchange Server\v15\TransportRoles\logs\Hub)
    does not even appear to contain an "AgentLog" folder.
    The Get-TransportService cmdlet returns:
    AgentLogMaxAge           : 7.00:00:00
    AgentLogMaxDirectorySize : 250 MB (262,144,000 bytes)
    AgentLogMaxFileSize      : 10 MB (10,485,760 bytes)
    AgentLogPath             : C:\Program Files\Microsoft\Exchange Server\v15\TransportRoles\logs\Hub\AgentLog
    AgentLogEnabled          : True
    I have tried modifying these settings, changing the path, manually creating the "AgentLog" folder, restarting the transport service, and nothing seems to make any difference.
    If anyone can offer any suggestions / provide any pointers, I would be extremely grateful. We regularly use agent logs when querying mail flow.
    Many thanks in advance,
    Simon.

    Hi,
    As Martina mentioned,you should install Anti-Spam Agents first.
    By default, anti-spam features aren't enabled in the Transport service on a Mailbox server. Typically, you only enable the anti-spam features on a Mailbox server if your Exchange organization doesn't do any prior anti-spam filtering before accepting incoming
    messages.
    In addition,if you want to configure Spam Agent Logging,plesae refer to the fowllowing article:
    Configure Anti-Spam Agent Logging
    Thanks.
    Niko Cheng
    TechNet Community Support

  • 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.

  • 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.

  • I would Like to print Exceptions to an agent Log not a console

    I purposely set this error so my agent would produce the error. The error listed below prints to the Java Console in Lotus Notes. I would like it to print to an agent.log I know this can be done through the use of a StringWriter and e.printStackTrace(StringWriter). But I need some documentation. Can anybody help??
    Below is a snippet of the agent and the error follows.
    } catch(Exception n) {
    System.out.println("Error Caught");
    System.out.println("Error Message" + " " + n ); //+ " " + el + " " + n.getMessage());
    n.printStackTrace();
    [FATAL ERROR] notes:///__86256D7B000B5CD1.nsf/0/CA2EA717D0E3594686256DAD005B7E7D(XMLBody) Line:16 Column:36: "</connectduration>" expected.
    Error Caught
    Error Message "</connectduration>" expected.
    "</connectduration>" expected.
         at com.ibm.xml.framework.XMLParser.handleError(XMLParser.java:413)
         at com.ibm.xml.framework.XMLParser.error1(XMLParser.java:485)
         at com.ibm.xml.internal.DefaultScanner.emitError(DefaultScanner.java:312)
         at com.ibm.xml.internal.DefaultScanner.scanContent(DefaultScanner.java:1195)
         at com.ibm.xml.internal.DefaultScanner.scanDocument(DefaultScanner.java:419)
         at com.ibm.xml.framework.XMLParser.parse(XMLParser.java:329)
         at com.ibm.xml.parsers.NonValidatingDOMParser.parse(NonValidatingDOMParser.java:1069)
         at lotus.domino.Parser.parse(Parser.java:49)
         at lotus.domino.local.Item.parseXML(Item.java:571)
         at ParseEvents.NotesMain(ParseEvents.java:41)
         at lotus.domino.AgentBase.runNotes(AgentBase.java:161)
         at lotus.domino.NotesThread.run(NotesThread.java:203)

    If you have a log file created and want to log the stacktrace in it you can get the stacktrace as a String & write it to the log file:
        public static final String getStackTrace(Exception e)
            if (e == null)
                return null;
            StringWriter sWriter = new StringWriter();
            PrintWriter pWriter = new PrintWriter(sWriter);
            e.printStackTrace(pWriter);
            //String stackTrace = new String(sWriter.getBuffer());
            String stackTrace = sWriter.toString();
            pWriter.close();
            try {
                sWriter.close();
            catch (IOException ie) {
            return stackTrace;
        }

  • Agent Logs under agent names shows no information in CSD

    I have 1 supervisor and that supervisor needs to see the agent logs under each individual agent name but for some reason there is nothing being reported there. If an agent takes a call or makes a call, inbound or outbound will appear under the agent name with data but logs just will not show anything. Is there a setting somewhere i'm missing?          

    You may have already checked this and apologize if you did, but have you verified that the supervisor is configured to see the columns under the Logs?
    In Supervisor, go to View - Preferences.  In the window that appears, go to Team - Agent - Logs and click on "Configure" on the right side, in the "Columns" field.  Make sure that the columns have a check mark next to them.
    If that is ok, have you tried running Supervisor from a different machine to see if that works?

  • Agent Logs out and Logs in back several times

    Hi,
    Agent Logs out and Logs in back several times without his intervention. this was observed with one agent. Any idea what would be causing? We use a custom CTIOS client and we observe that only one agent had this problem

    Hi,
    Do you have access to the client desktop and the CTIOS server logs ?  Look for the network related errors, sometimes the process in ICM might be giving up..
    regards,
    Shravan

  • 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.

  • Monitoring Agents logged in, and out dialing notification to duty manager

    I've been asked to come up with a way to monitor a few critical skill groups for agents logged in and if there are none dial out to predetermined outside numbers that reach duty managers. When the call is answered a message should be played indicating there are no agents logged into their skill group.
    I figure I can write and Administrative script to keep track of the skill groups, which would then set a variable and kick off a routing script. However I'm stumped on how to play a message to them. Is this something the outbound dialer could be configured to do? Note this is strictly a proactive notification to the managers and I'm not planning to route the calls anywhere.
    Any ideas on how I might be able to do this?
    Best,
    Rob

    Hi Rob
    It might be tricky - I would probably try the following:
    - In your inbound script, check using the 'get reporting statistic' step for the number of agents in the CSQs (not the skill groups, as it's CSQ specific)
    - From that script, you could do a 'send email' to notify a supervisor.
    - Alternatively, you could use a 'send http request' to trigger another script, which would use a 'place call' and 'play prompt' routine to play out the notification. I would use a http request to trigger a seperate script, as if you do it from within the first script, the caller will be kept waiting while the system dials the supervisor and plays a prompt - the scripts cannot multitask.
    - The other problem you might have would be that multiple notifications may be generated. You might be able to work around that by setting a variable in a session to indicate the threshold being triggered, and another when it has been notified. When the condition is cleared you could clear both variables to allow a new trigger event.
    An easier option than scripting might be to use the 'Supervisor Workflow' feature. This isn't exactly what they have asked for, but allows a popup or audio alert to be triggered based on calls being in queue over x seconds, or length of a queue being x or greater. It's configured from within the Supervisor app.
    Regards
    Aaron HarrisonPrincipal Engineer at Logicalis UK
    Please rate helpful posts...

  • [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

  • Cisco Supervisor Desktop show "Agent Logs - call" and "Agent Logs - state" in N/A ::: UCCX 8.5.1

    Hi team.
    The Cisco Supervisor Desktop don't show any logs in the "Agent Logs - State" and "Agent Logs - Call" in some agents.
    I restarted the Cisco Desktop Services in CCX Serviceability but the issue continue.
    I appreciate any help respect this case.
    Thanks a lot.
    ErnestoG

    Hi Ernesto,
    Did you click or selct the Specific Agent\Inbound call which is currently being handled by the Agent. From the Screenshot you have attached (first one) doesn't look like the call has been selected.
    Please select or click on that Specific Agent\Inbound call from CSD and check these values.
    Hope this helps.
    Anand
    Please rate helpful posts !!

  • 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!

Maybe you are looking for

  • HT2954 How to search the content in Mac mail system?

    I receive a lot of emails each day, some of the are dumped in the inbox. It is natural to search them later by typing some keywords. But the search engine performance is very bad compared to the the one of Gmail. I typed the same words, Mac mail show

  • JEditorPane - How to display XML Linked HTML File in JEditorPane ?

    Dear Friends, I have a HTML File consisting of stylesheet, xml linked (for data) and with headers, footers... When i called a ordinary html file using setpage property of JEditorpane..it's working no problem...but when i call the html file having xml

  • [solved] Non-root program to create subdir in /run/lock

    Hi all, I am using and maintaining (more or less) the program logcheck. When the program is run (e.g. by a cronjob) and the directory /var/run/logcheck is not already present, it creates it. Since the recent update of the filesystem package, the lock

  • Error in Number range objec

    Hi all     I created a Number ranger object and using this number range object in my program to get number automatically. The number starts from 1 as given in the number ranger interval but after 1 it skips 9 numbers and goes to 11,12, 13 so on. why

  • Counting total customers

    I need help with counting all the customers in 0customer in Query Designer 7.0. 1. I created a formula variable: Replacement Path, Reference Char = 0customer, Replace with = Attrib Value, Attribute= characeter reference. 2. I assigned this to a Calcu