IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
Expand all | Collapse all

Limiting the size for IS server log

  • 1.  Limiting the size for IS server log

    Posted 10/21/10 06:09 AM

    Hi,

    Is there any way to “limit” the log file size for server.log and error.log?

    Thanks in advance,

    Chinmaya Nanda


    #webMethods-Archive
    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: Limiting the size for IS server log

    Posted 10/21/10 11:51 AM

    Chinmaya,

    There is no way to limit the size of log files.

    You can reduce the logging level to minimum so that there wont be much information logged in the IS.


    #webMethods
    #webMethods-Archive
    #Integration-Server-and-ESB


  • 3.  RE: Limiting the size for IS server log

    Posted 10/21/10 11:54 AM

    Hello,
    Does your server log shows TOOOO many things or uodates very fast, even you are not doing anything or doing less?


    #webMethods
    #Integration-Server-and-ESB
    #webMethods-Archive


  • 4.  RE: Limiting the size for IS server log

    Posted 10/21/10 12:02 PM

    Hi Yadhunandhan/Suvigya,

    Thanx for your replies.I know that we can reduce the logging level and also we can use the key watt.server.auditLog=false/same for error log to reduce the content of server log.
    But my question is can we limit the size of server log like if i set the server log maximum size as 1GB then log should not exceed this value.

    Please reply.

    Thanks in advance.
    Regards,

    Chinmaya Nanda


    #Integration-Server-and-ESB
    #webMethods-Archive
    #webMethods


  • 5.  RE: Limiting the size for IS server log

    Posted 10/21/10 12:24 PM

    Hello,
    How can you limit a file man?
    And even if you limit the log, then what is the need of the error/server logs? All the info will be lost then, which is necessary…:slight_smile:


    #webMethods-Archive
    #webMethods
    #Integration-Server-and-ESB


  • 6.  RE: Limiting the size for IS server log

    Posted 10/21/10 12:57 PM

    Hi,

    Yeah i agree to that.But sometime the storage space might be a constraint that time we need to control the server log size.
    If possible we can configure that if the logs are exceeding the specified limit then a mail will be dropped to the administrator to handle that situation.
    Thanks for your reply:).

    Regards,
    Chinmaya Nanda


    #webMethods-Archive
    #webMethods
    #Integration-Server-and-ESB


  • 7.  RE: Limiting the size for IS server log

    Posted 10/21/10 01:27 PM

    Chinmaya,

    Definitely you can schedule a cronjob in your OS, in order to check the size of the disk space and send an alert email to the support group.

    How many days logs you are keeping in the server? You can move/delete/zip the old logs (say 2-3 months old)

    Just telling this info to make sure your server does not get crashed. :p:

    Just kidding…


    #webMethods
    #webMethods-Archive
    #Integration-Server-and-ESB


  • 8.  RE: Limiting the size for IS server log

    Posted 10/21/10 10:44 PM

    IMO … there is nothing out of box in webMethods for this requirement, but you can write a simple service to get the file size and depending upon the threshold fire a email alert… but i still feel disk space allocation/monitoring is out of wm scope and it should be done by some cron job on OS level rather than application level for particular dir.


    #Integration-Server-and-ESB
    #webMethods-Archive
    #webMethods


  • 9.  RE: Limiting the size for IS server log

    Posted 10/22/10 05:54 AM

    Hi All,

    Thanks for your replies guys.:):):slight_smile:

    Regards,

    Chinmaya Nanda


    #webMethods-Archive
    #webMethods
    #Integration-Server-and-ESB


  • 10.  RE: Limiting the size for IS server log

    Posted 10/25/10 04:46 PM

    What about watt.debug2.maxlogsize in the $IS_HOME/config/server.cnf?

    Its not in the IS server admin guide, but if its not for this issue then what is it for?


    #webMethods-Archive
    #Integration-Server-and-ESB
    #webMethods


  • 11.  RE: Limiting the size for IS server log

    Posted 10/26/10 06:01 AM

    Hi Vanfleer,

    I have searched for the key “watt.debug2.maxlogsize” but i didnt find this key in Is Home/config/server.cnf.Probably this key doesn’t come with webMethods.can you plz tell me from where you get this key??

    Thanx and Regards,

    Chinmaya Nanda


    #webMethods-Archive
    #Integration-Server-and-ESB
    #webMethods


  • 12.  RE: Limiting the size for IS server log

    Posted 10/26/10 11:05 AM

    Hi all,

    i was seraching for the key “watt.debug2.maxlogsize” in webMethods 6.5 :D,but its a feature of webmethod 8.0 .
    But i didnt find any explanation of that in any document.

    Thanks and regards,

    Chinmaya Nanda


    #Integration-Server-and-ESB
    #webMethods-Archive
    #webMethods


  • 13.  RE: Limiting the size for IS server log

    Posted 10/26/10 03:50 PM


  • 14.  RE: Limiting the size for IS server log

    Posted 11/12/10 08:29 AM

    watt.debug2.maxlogsize has been deprecated since 6.1


    #webMethods-Archive
    #Integration-Server-and-ESB
    #webMethods