Re: ARS generational logging
I started a new document in the BMC Communities Hidden and Undocumented Configuration Settingshttps://communities.bmc.com/communities/docs/DOC-20894. If you know of an undocumented configuration setting please add it to this document. My hope is they will not remain undocumented any longer. I added this option to a section called AR System Configuration Settings (ar.cfg / ar.conf). Add new sections for other configuration files as necessary (EmailDaemon.properties, etc.). Jason On Sun, Aug 19, 2012 at 6:05 PM, Goodall, Andrew C ago...@jcp.com wrote: May be Doug or David can explain why this option (Max-Log-History) is not documented or added as an available parameter on the Server Information Log tab, I do know it works :) as provided by BMC engineering to me this last week. In my opinion the original overwrite functionality of log was not well thought out, especially for those sql and filter logs - Max-Log-History works much better. Regards, Andrew C. Goodall Software Engineer Development Services ago...@jcpenney.com jcpenney 6501 Legacy Drive Plano, TX 75024 jcp.com -Original Message- From: Action Request System discussion list(ARSList) [mailto: arslist@arslist.org] On Behalf Of Misi Mladoniczky Sent: Saturday, August 18, 2012 12:45 PM To: arslist@arslist.org Subject: Re: ARS generational logging Hi, I have gone through the 7.6.04 config guide, where ar.cfg/conf is explained. There are no such thing as a Max-Log-History option! The Max-Log-File-Size is there though, and this option has been around for a very long time. I checked the doc for version 4.5, and it is in there. Just specify the number of bytes you want in your log, and when the system fills that up, it will start overwriting the file from the beginning again. And no, this does not apply to arerror.log. All log files can be rotated though. But there is no built in functionality for this. Best Regards - Misi, RRR AB, http://www.rrr.se (ARSList MVP 2011) Products from RRR Scandinavia (Best R.O.I. Award at WWRUG10/11): * RRR|License - Not enough Remedy licenses? Save money by optimizing. * RRR|Log - Performance issues or elusive bugs? Analyse your Remedy logs. Find these products, and many free tools and utilities, at http://rrr.se. I don't think so - but that would have been nice. I say that because the max log file parameter doesn't seem to apply to arerror.log so I don't expect this to either. L Regards, Andrew C. Goodall Software Engineer Development Services ago...@jcpenney.com jcpenney 6501 Legacy Drive Plano, TX 75024 jcp.com From: Action Request System discussion list(ARSList) [mailto:arslist@arslist.org] On Behalf Of Axton Sent: Friday, August 17, 2012 5:48 PM To: arslist@arslist.org Subject: Re: ARS generational logging ** Any chance that applies to the arerror log too? On Aug 17, 2012 5:43 PM, Susan Palmer suzanpal...@gmail.com wrote: ** That's more clear to me now. We're still at 7.5 so I guess we'll look at the next version that comes out for an upgrade hopefully next year. Thanks for the info Andrew and Ravi ! Susan On Fri, Aug 17, 2012 at 5:38 PM, Goodall, Andrew C ago...@jcp.com wrote: ** It is going to help so much in working with support. Can't tell you how many times a log has been unworkable or useless because it has rolled over itself due to the fixed size readable limit, even 0 limit will stop at 2gb - not that is readable/manageable anyway Max-Log-History: 3 Sql.log - current log Sql.001.log ß oldest generation Sql.002.log Sql.003.log ß latest generation /rolled log Regards, Andrew C. Goodall Software Engineer Development Services ago...@jcpenney.com jcpenney 6501 Legacy Drive Plano, TX 75024 jcp.com From: Action Request System discussion list(ARSList) [mailto:arslist@arslist.org] On Behalf Of Susan Palmer Sent: Friday, August 17, 2012 5:21 PM To: arslist@arslist.org Subject: Re: ARS generational logging ** Hi Andrew, Not sure what 'generational' logging is. Are you referring to a rolling log, where you could set a max and then oldest entries drop off when the max size is reached to make room for new entries? That would be great to have some logs continually running for those unexpected times when you'd like to look at something that happened but the logs weren't on. Regards, Susan On Fri, Aug 17, 2012 at 10:16 AM, Goodall, Andrew C ago...@jcp.com wrote: ** I've been wanting generational logging in ARS for a long time. I just learned that is now available with a new ar.cg parameter Max-Log-History I don't know when this was implemented, maybe it was with 7.6.x but I wish BMC would have advertised this to admins or made this accessible on the Server
Re: ARS generational logging
Hi, It is nice with new features, but we want to know about them, right? What are you supposed to put there? The number of seconds or what? And what happens when the first line of the log is x old. Does it rotate the file and start from scratch, or does it start writing at the beginning again just like the old Max-Log-File-Size? I don't really see how this can work with a single file... If you log to a form, I can see this working, but it would be more appropriate to have an escalation deleting things from the end. And it would also be very useful to have a different setting for different log files. Specifically the user-log that you typically want much longer data in than other more chatty log files. Best Regards - Misi, RRR AB, http://www.rrr.se (ARSList MVP 2011) Products from RRR Scandinavia (Best R.O.I. Award at WWRUG10/11): * RRR|License - Not enough Remedy licenses? Save money by optimizing. * RRR|Log - Performance issues or elusive bugs? Analyze your Remedy logs. Find these products, and many free tools and utilities, at http://rrr.se. May be Doug or David can explain why this option (Max-Log-History) is not documented or added as an available parameter on the Server Information Log tab, I do know it works :) as provided by BMC engineering to me this last week. In my opinion the original overwrite functionality of log was not well thought out, especially for those sql and filter logs - Max-Log-History works much better. Regards, Andrew C. Goodall Software Engineer Development Services ago...@jcpenney.com jcpenney 6501 Legacy Drive Plano, TX 75024 jcp.com -Original Message- From: Action Request System discussion list(ARSList) [mailto:arslist@arslist.org] On Behalf Of Misi Mladoniczky Sent: Saturday, August 18, 2012 12:45 PM To: arslist@arslist.org Subject: Re: ARS generational logging Hi, I have gone through the 7.6.04 config guide, where ar.cfg/conf is explained. There are no such thing as a Max-Log-History option! The Max-Log-File-Size is there though, and this option has been around for a very long time. I checked the doc for version 4.5, and it is in there. Just specify the number of bytes you want in your log, and when the system fills that up, it will start overwriting the file from the beginning again. And no, this does not apply to arerror.log. All log files can be rotated though. But there is no built in functionality for this. Best Regards - Misi, RRR AB, http://www.rrr.se (ARSList MVP 2011) Products from RRR Scandinavia (Best R.O.I. Award at WWRUG10/11): * RRR|License - Not enough Remedy licenses? Save money by optimizing. * RRR|Log - Performance issues or elusive bugs? Analyse your Remedy logs. Find these products, and many free tools and utilities, at http://rrr.se. I don't think so - but that would have been nice. I say that because the max log file parameter doesn't seem to apply to arerror.log so I don't expect this to either. L Regards, Andrew C. Goodall Software Engineer Development Services ago...@jcpenney.com jcpenney 6501 Legacy Drive Plano, TX 75024 jcp.com From: Action Request System discussion list(ARSList) [mailto:arslist@arslist.org] On Behalf Of Axton Sent: Friday, August 17, 2012 5:48 PM To: arslist@arslist.org Subject: Re: ARS generational logging ** Any chance that applies to the arerror log too? On Aug 17, 2012 5:43 PM, Susan Palmer suzanpal...@gmail.com wrote: ** That's more clear to me now. We're still at 7.5 so I guess we'll look at the next version that comes out for an upgrade hopefully next year. Thanks for the info Andrew and Ravi ! Susan On Fri, Aug 17, 2012 at 5:38 PM, Goodall, Andrew C ago...@jcp.com wrote: ** It is going to help so much in working with support. Can't tell you how many times a log has been unworkable or useless because it has rolled over itself due to the fixed size readable limit, even 0 limit will stop at 2gb - not that is readable/manageable anyway Max-Log-History: 3 Sql.log - current log Sql.001.log ß oldest generation Sql.002.log Sql.003.log ß latest generation /rolled log Regards, Andrew C. Goodall Software Engineer Development Services ago...@jcpenney.com jcpenney 6501 Legacy Drive Plano, TX 75024 jcp.com From: Action Request System discussion list(ARSList) [mailto:arslist@arslist.org] On Behalf Of Susan Palmer Sent: Friday, August 17, 2012 5:21 PM To: arslist@arslist.org Subject: Re: ARS generational logging ** Hi Andrew, Not sure what 'generational' logging is. Are you referring to a rolling log, where you could set a max and then oldest entries drop off when the max size is reached to make room for new entries? That would be great to have some logs continually running for those unexpected times when you'd like to look at something that happened but the logs weren't on. Regards, Susan On Fri, Aug 17, 2012 at 10
Re: ARS generational logging
Susan, As far as your comment about keeping logs running, maybe you know, but you can already do that on 7.5 by setting the Maximum Log-File Size in the Server Admin form. When looking at the files in that case, you have to keep in mind that when the max size is reached, it starts writing over at the top of the file. (At least that's behavior for us - I think we have Create Backup selected.) So you might have entries in the bottom part with timestamps before the top part - can be confusing if one doesn't keep that in mind. David David Durling University of Georgia From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of Susan Palmer Sent: Friday, August 17, 2012 6:44 PM To: arslist@ARSLIST.ORG Subject: Re: ARS generational logging ** That's more clear to me now. We're still at 7.5 so I guess we'll look at the next version that comes out for an upgrade hopefully next year. Thanks for the info Andrew and Ravi ! Susan On Fri, Aug 17, 2012 at 5:38 PM, Goodall, Andrew C ago...@jcp.commailto:ago...@jcp.com wrote: ** It is going to help so much in working with support. Can't tell you how many times a log has been unworkable or useless because it has rolled over itself due to the fixed size readable limit, even 0 limit will stop at 2gb - not that is readable/manageable anyway Max-Log-History: 3 Sql.log - current log Sql.001.log -- oldest generation Sql.002.log Sql.003.log -- latest generation /rolled log Regards, Andrew C. Goodall Software Engineer Development Services ago...@jcpenney.commailto:ago...@jcpenney.com jcpenney 6501 Legacy Drive Plano, TX 75024 jcp.comhttp://jcp.com From: Action Request System discussion list(ARSList) [mailto:arslist@arslist.orgmailto:arslist@arslist.org] On Behalf Of Susan Palmer Sent: Friday, August 17, 2012 5:21 PM To: arslist@arslist.orgmailto:arslist@arslist.org Subject: Re: ARS generational logging ** Hi Andrew, Not sure what 'generational' logging is. Are you referring to a rolling log, where you could set a max and then oldest entries drop off when the max size is reached to make room for new entries? That would be great to have some logs continually running for those unexpected times when you'd like to look at something that happened but the logs weren't on. Regards, Susan On Fri, Aug 17, 2012 at 10:16 AM, Goodall, Andrew C ago...@jcp.commailto:ago...@jcp.com wrote: ** I've been wanting generational logging in ARS for a long time. I just learned that is now available with a new ar.cghttp://ar.cg parameter Max-Log-History I don't know when this was implemented, maybe it was with 7.6.x but I wish BMC would have advertised this to admins or made this accessible on the Server Information Tab. e.g. Max-Log-History: 20 Regards, Andrew C. Goodall Software Engineer Development Services ago...@jcpenney.commailto:ago...@jcpenney.com jcpenney 6501 Legacy Drive Plano, TX 75024 jcp.comhttp://jcp.com The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If the reader of this message is not the intended recipient, you are hereby notified that your access is unauthorized, and any review, dissemination, distribution or copying of this message including any attachments is strictly prohibited. If you are not the intended recipient, please contact the sender and delete the material from any computer. _attend WWRUG12 www.wwrug.comhttp://www.wwrug.com ARSlist: Where the Answers Are_ _attend WWRUG12 www.wwrug.comhttp://www.wwrug.com ARSlist: Where the Answers Are_ _attend WWRUG12 www.wwrug.comhttp://www.wwrug.com ARSlist: Where the Answers Are_ _attend WWRUG12 www.wwrug.comhttp://www.wwrug.com ARSlist: Where the Answers Are_ ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug12 www.wwrug12.com ARSList: Where the Answers Are
Re: ARS generational logging
David, You are correct in how the logs roll over. On Unix/Linux logs, to find the end of the log you can search for END OF LOG FILE. Everything after that is earlier than what is above it. It sounds like the new config option makes the regular logs work like the newer java logs (where you can keep a set number of logs. I have a script that I use thru cron (task scheduler in Windows) that I use to save my log files every 10 minutes. Doing so allows me to keep an entire day's worth of log files for debugging and support. #! /usr/bin/ksh # # Name:save_log.sh # Description: Save the log file(s) via a script # Developed: 05/05/2003 Fred Grooms # if [ -z $ARCONFIGDIR ] then ARS_ROOT=/opt/ars ARCONFIGDIR=${ARS_ROOT}/ars AR_TMP_DIR=${ARCONFIGDIR}/tmp AR_LOG_DIR=${ARCONFIGDIR}/Logs fi # cur=`date +%H%M` # Set the location of the existing files and where to save them logpath=${AR_LOG_DIR} savpath=${AR_LOG_DIR}/save15 # Make sure log files are readable by everyone with access to server cd $ARCONFIGDIR/db chmod a+r *.log cd $logpath chmod a+r *.l* # [ -r arsql.log ] cp arsql.log${savpath}/arsql_${cur}.log ; [ -r arfilter.log ] cp arfilter.log ${savpath}/arfilter_${cur}.log ; [ -r arapi.log ] cp arapi.log${savpath}/arapi_${cur}.log ; # cd ${savpath} # rm -f *${cur}.log.gz /dev/null gzip *${cur}.log # exit 0 Basically it works like this: Check for the environment variable ARCONFIGDIR. If it is not there set up the base environment variables for use. Set a variable for the hour and minute. All saved files will be in the format of file_HHMM.log Set the location of the existing files and where to save them Make sure log files are readable by everyone with access to server If the file exists copy it Remove yesterday's file(s) Compress todays new files Fred - Original Message - From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of David Durling Sent: Monday, August 20, 2012 8:02 AM To: arslist@ARSLIST.ORG Subject: Re: ARS generational logging ** Susan, As far as your comment about keeping logs running, maybe you know, but you can already do that on 7.5 by setting the Maximum Log-File Size in the Server Admin form. When looking at the files in that case, you have to keep in mind that when the max size is reached, it starts writing over at the top of the file. (At least that’s behavior for us - I think we have Create Backup selected.) So you might have entries in the bottom part with timestamps before the top part – can be confusing if one doesn’t keep that in mind. David David Durling University of Georgia - Original Message - From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of Susan Palmer Sent: Friday, August 17, 2012 6:44 PM To: arslist@ARSLIST.ORG Subject: Re: ARS generational logging ** That's more clear to me now. We're still at 7.5 so I guess we'll look at the next version that comes out for an upgrade hopefully next year. Thanks for the info Andrew and Ravi ! Susan - Original Message - On Fri, Aug 17, 2012 at 5:38 PM, Goodall, Andrew C wrote: ** It is going to help so much in working with support. Can’t tell you how many times a log has been unworkable or useless because it has rolled over itself due to the fixed size “readable” limit, even 0 limit will stop at 2gb – not that is readable/manageable anyway Max-Log-History: 3 Sql.log - current log Sql.001.log ← oldest generation Sql.002.log Sql.003.log ← latest generation /rolled log Regards, Andrew C. Goodall Software Engineer Development Services ago...@jcpenney.com jcpenney 6501 Legacy Drive Plano, TX 75024 jcp.com From: Action Request System discussion list(ARSList) [mailto:arslist@arslist.org] On Behalf Of Susan Palmer Sent: Friday, August 17, 2012 5:21 PM To: arslist@arslist.org Subject: Re: ARS generational logging ** Hi Andrew, Not sure what 'generational' logging is. Are you referring to a rolling log, where you could set a max and then oldest entries drop off when the max size is reached to make room for new entries? That would be great to have some logs continually running for those unexpected times when you'd like to look at something that happened but the logs weren't on. Regards, Susan On Fri, Aug 17, 2012 at 10:16 AM, Goodall, Andrew C ago...@jcp.com wrote: ** I’ve been wanting generational logging in ARS for a long time. I just learned that is now available with a new ar.cg parameter Max-Log-History I don’t know when this was implemented, maybe it was with 7.6.x but I wish BMC would have advertised this to admins or made this accessible on the Server
Re: ARS generational logging
Thanks David and Fred ... I missed that setting. I've changed it and will watch it work today. I like to use rrr|Log but it's a pain to constantly be aware of stopping/starting logs or they become way to large. By writing at the top of the file I'm interpreting that as the 'beginning' which I'm fine with. I don't like to get to crazy with logs since the unix guy has to keep it all cleaned up. I try to make his life as easy as possible so when I need something he's very responsive. And I have to add, that my need for logs is actually minimal, but it never fails there is a 'slowness' right when there are no logs. Quite frankly the 'slowness' is rarely actually a Remedy issue, or even a db issue ... I blaming the network, that's my story and I'm sticking to it! Susan :) On Mon, Aug 20, 2012 at 8:01 AM, David Durling durl...@uga.edu wrote: ** Susan, ** ** As far as your comment about keeping logs running, maybe you know, but you can already do that on 7.5 by setting the Maximum Log-File Size in the Server Admin form. When looking at the files in that case, you have to keep in mind that when the max size is reached, it starts writing over at the top of the file. (At least that’s behavior for us - I think we have Create Backup selected.) So you might have entries in the bottom part with timestamps before the top part – can be confusing if one doesn’t keep that in mind. ** ** David ** ** David Durling University of Georgia ** ** ** ** ** ** *From:* Action Request System discussion list(ARSList) [mailto: arslist@ARSLIST.ORG] *On Behalf Of *Susan Palmer *Sent:* Friday, August 17, 2012 6:44 PM *To:* arslist@ARSLIST.ORG *Subject:* Re: ARS generational logging ** ** ** That's more clear to me now. We're still at 7.5 so I guess we'll look at the next version that comes out for an upgrade hopefully next year. Thanks for the info Andrew and Ravi ! Susan On Fri, Aug 17, 2012 at 5:38 PM, Goodall, Andrew C ago...@jcp.com wrote: ** It is going to help so much in working with support. Can’t tell you how many times a log has been unworkable or useless because it has rolled over itself due to the fixed size “readable” limit, even 0 limit will stop at 2gb – not that is readable/manageable anyway Max-Log-History: 3 Sql.log - current log Sql.001.log ß oldest generation Sql.002.log Sql.003.log ß latest generation /rolled log Regards, *Andrew C. Goodall* Software Engineer Development Services ago...@jcpenney.com *jcpenney* 6501 Legacy Drive Plano, TX 75024 jcp.com *From:* Action Request System discussion list(ARSList) [mailto: arslist@arslist.org] *On Behalf Of *Susan Palmer *Sent:* Friday, August 17, 2012 5:21 PM *To:* arslist@arslist.org *Subject:* Re: ARS generational logging ** Hi Andrew, Not sure what 'generational' logging is. Are you referring to a rolling log, where you could set a max and then oldest entries drop off when the max size is reached to make room for new entries? That would be great to have some logs continually running for those unexpected times when you'd like to look at something that happened but the logs weren't on. Regards, Susan On Fri, Aug 17, 2012 at 10:16 AM, Goodall, Andrew C ago...@jcp.com wrote: ** I’ve been wanting generational logging in ARS for a long time. I just learned that is now available with a new ar.cg parameter Max-Log-History I don’t know when this was implemented, maybe it was with 7.6.x but I wish BMC would have advertised this to admins or made this accessible on the Server Information Tab. e.g. Max-Log-History: 20 Regards, *Andrew C. Goodall* Software Engineer Development Services ago...@jcpenney.com *jcpenney* 6501 Legacy Drive Plano, TX 75024 jcp.com The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If the reader of this message is not the intended recipient, you are hereby notified that your access is unauthorized, and any review, dissemination, distribution or copying of this message including any attachments is strictly prohibited. If you are not the intended recipient, please contact the sender and delete the material from any computer. _attend WWRUG12 www.wwrug.com ARSlist: Where the Answers Are_ _attend WWRUG12 www.wwrug.com ARSlist: Where the Answers Are_ _attend WWRUG12 www.wwrug.com ARSlist: Where the Answers Are_ _attend WWRUG12 www.wwrug.com ARSlist: Where the Answers Are_ _attend WWRUG12 www.wwrug.com ARSlist: Where the Answers Are_
Re: ARS generational logging
May be Doug or David can explain why this option (Max-Log-History) is not documented or added as an available parameter on the Server Information Log tab, I do know it works :) as provided by BMC engineering to me this last week. In my opinion the original overwrite functionality of log was not well thought out, especially for those sql and filter logs - Max-Log-History works much better. Regards, Andrew C. Goodall Software Engineer Development Services ago...@jcpenney.com jcpenney 6501 Legacy Drive Plano, TX 75024 jcp.com -Original Message- From: Action Request System discussion list(ARSList) [mailto:arslist@arslist.org] On Behalf Of Misi Mladoniczky Sent: Saturday, August 18, 2012 12:45 PM To: arslist@arslist.org Subject: Re: ARS generational logging Hi, I have gone through the 7.6.04 config guide, where ar.cfg/conf is explained. There are no such thing as a Max-Log-History option! The Max-Log-File-Size is there though, and this option has been around for a very long time. I checked the doc for version 4.5, and it is in there. Just specify the number of bytes you want in your log, and when the system fills that up, it will start overwriting the file from the beginning again. And no, this does not apply to arerror.log. All log files can be rotated though. But there is no built in functionality for this. Best Regards - Misi, RRR AB, http://www.rrr.se (ARSList MVP 2011) Products from RRR Scandinavia (Best R.O.I. Award at WWRUG10/11): * RRR|License - Not enough Remedy licenses? Save money by optimizing. * RRR|Log - Performance issues or elusive bugs? Analyse your Remedy logs. Find these products, and many free tools and utilities, at http://rrr.se. I don't think so - but that would have been nice. I say that because the max log file parameter doesn't seem to apply to arerror.log so I don't expect this to either. L Regards, Andrew C. Goodall Software Engineer Development Services ago...@jcpenney.com jcpenney 6501 Legacy Drive Plano, TX 75024 jcp.com From: Action Request System discussion list(ARSList) [mailto:arslist@arslist.org] On Behalf Of Axton Sent: Friday, August 17, 2012 5:48 PM To: arslist@arslist.org Subject: Re: ARS generational logging ** Any chance that applies to the arerror log too? On Aug 17, 2012 5:43 PM, Susan Palmer suzanpal...@gmail.com wrote: ** That's more clear to me now. We're still at 7.5 so I guess we'll look at the next version that comes out for an upgrade hopefully next year. Thanks for the info Andrew and Ravi ! Susan On Fri, Aug 17, 2012 at 5:38 PM, Goodall, Andrew C ago...@jcp.com wrote: ** It is going to help so much in working with support. Can't tell you how many times a log has been unworkable or useless because it has rolled over itself due to the fixed size readable limit, even 0 limit will stop at 2gb - not that is readable/manageable anyway Max-Log-History: 3 Sql.log - current log Sql.001.log ß oldest generation Sql.002.log Sql.003.log ß latest generation /rolled log Regards, Andrew C. Goodall Software Engineer Development Services ago...@jcpenney.com jcpenney 6501 Legacy Drive Plano, TX 75024 jcp.com From: Action Request System discussion list(ARSList) [mailto:arslist@arslist.org] On Behalf Of Susan Palmer Sent: Friday, August 17, 2012 5:21 PM To: arslist@arslist.org Subject: Re: ARS generational logging ** Hi Andrew, Not sure what 'generational' logging is. Are you referring to a rolling log, where you could set a max and then oldest entries drop off when the max size is reached to make room for new entries? That would be great to have some logs continually running for those unexpected times when you'd like to look at something that happened but the logs weren't on. Regards, Susan On Fri, Aug 17, 2012 at 10:16 AM, Goodall, Andrew C ago...@jcp.com wrote: ** I've been wanting generational logging in ARS for a long time. I just learned that is now available with a new ar.cg parameter Max-Log-History I don't know when this was implemented, maybe it was with 7.6.x but I wish BMC would have advertised this to admins or made this accessible on the Server Information Tab. e.g. Max-Log-History: 20 Regards, Andrew C. Goodall Software Engineer Development Services ago...@jcpenney.com jcpenney 6501 Legacy Drive Plano, TX 75024 jcp.com The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If the reader of this message is not the intended recipient, you are hereby notified that your access is unauthorized, and any review, dissemination, distribution or copying of this message including any attachments is strictly prohibited. If you are not the intended recipient, please contact the sender and delete the material from any computer. _attend WWRUG12 www.wwrug.com
Re: ARS generational logging
Hi, I have gone through the 7.6.04 config guide, where ar.cfg/conf is explained. There are no such thing as a Max-Log-History option! The Max-Log-File-Size is there though, and this option has been around for a very long time. I checked the doc for version 4.5, and it is in there. Just specify the number of bytes you want in your log, and when the system fills that up, it will start overwriting the file from the beginning again. And no, this does not apply to arerror.log. All log files can be rotated though. But there is no built in functionality for this. Best Regards - Misi, RRR AB, http://www.rrr.se (ARSList MVP 2011) Products from RRR Scandinavia (Best R.O.I. Award at WWRUG10/11): * RRR|License - Not enough Remedy licenses? Save money by optimizing. * RRR|Log - Performance issues or elusive bugs? Analyse your Remedy logs. Find these products, and many free tools and utilities, at http://rrr.se. I don't think so - but that would have been nice. I say that because the max log file parameter doesn't seem to apply to arerror.log so I don't expect this to either. L Regards, Andrew C. Goodall Software Engineer Development Services ago...@jcpenney.com jcpenney 6501 Legacy Drive Plano, TX 75024 jcp.com From: Action Request System discussion list(ARSList) [mailto:arslist@arslist.org] On Behalf Of Axton Sent: Friday, August 17, 2012 5:48 PM To: arslist@arslist.org Subject: Re: ARS generational logging ** Any chance that applies to the arerror log too? On Aug 17, 2012 5:43 PM, Susan Palmer suzanpal...@gmail.com wrote: ** That's more clear to me now. We're still at 7.5 so I guess we'll look at the next version that comes out for an upgrade hopefully next year. Thanks for the info Andrew and Ravi ! Susan On Fri, Aug 17, 2012 at 5:38 PM, Goodall, Andrew C ago...@jcp.com wrote: ** It is going to help so much in working with support. Can't tell you how many times a log has been unworkable or useless because it has rolled over itself due to the fixed size readable limit, even 0 limit will stop at 2gb - not that is readable/manageable anyway Max-Log-History: 3 Sql.log - current log Sql.001.log ß oldest generation Sql.002.log Sql.003.log ß latest generation /rolled log Regards, Andrew C. Goodall Software Engineer Development Services ago...@jcpenney.com jcpenney 6501 Legacy Drive Plano, TX 75024 jcp.com From: Action Request System discussion list(ARSList) [mailto:arslist@arslist.org] On Behalf Of Susan Palmer Sent: Friday, August 17, 2012 5:21 PM To: arslist@arslist.org Subject: Re: ARS generational logging ** Hi Andrew, Not sure what 'generational' logging is. Are you referring to a rolling log, where you could set a max and then oldest entries drop off when the max size is reached to make room for new entries? That would be great to have some logs continually running for those unexpected times when you'd like to look at something that happened but the logs weren't on. Regards, Susan On Fri, Aug 17, 2012 at 10:16 AM, Goodall, Andrew C ago...@jcp.com wrote: ** I've been wanting generational logging in ARS for a long time. I just learned that is now available with a new ar.cg parameter Max-Log-History I don't know when this was implemented, maybe it was with 7.6.x but I wish BMC would have advertised this to admins or made this accessible on the Server Information Tab. e.g. Max-Log-History: 20 Regards, Andrew C. Goodall Software Engineer Development Services ago...@jcpenney.com jcpenney 6501 Legacy Drive Plano, TX 75024 jcp.com The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If the reader of this message is not the intended recipient, you are hereby notified that your access is unauthorized, and any review, dissemination, distribution or copying of this message including any attachments is strictly prohibited. If you are not the intended recipient, please contact the sender and delete the material from any computer. _attend WWRUG12 www.wwrug.com ARSlist: Where the Answers Are_ _attend WWRUG12 www.wwrug.com ARSlist: Where the Answers Are_ _attend WWRUG12 www.wwrug.com ARSlist: Where the Answers Are_ _attend WWRUG12 www.wwrug.com ARSlist: Where the Answers Are_ _attend WWRUG12 www.wwrug.com ARSlist: Where the Answers Are_ ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug12 www.wwrug12.com ARSList: Where the Answers Are ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug12 www.wwrug12.com ARSList: Where the Answers Are
ARS generational logging
I've been wanting generational logging in ARS for a long time. I just learned that is now available with a new ar.cg parameter Max-Log-History I don't know when this was implemented, maybe it was with 7.6.x but I wish BMC would have advertised this to admins or made this accessible on the Server Information Tab. e.g. Max-Log-History: 20 Regards, Andrew C. Goodall Software Engineer Development Services ago...@jcpenney.com jcpenney 6501 Legacy Drive Plano, TX 75024 jcp.com font face=monospacesize=-3brThe information transmitted is intended only for the person or entity to which it is addressed and brmay contain confidential and/or privileged material. If the reader of this message is not the intendedbrrecipient, you are hereby notified that your access is unauthorized, and any review, dissemination,brdistribution or copying of this message including any attachments is strictly prohibited. If you are notbrthe intended recipient, please contact the sender and delete the material from any computer.br ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug12 www.wwrug12.com ARSList: Where the Answers Are
Re: ARS generational logging
Hi Andrew, Not sure what 'generational' logging is. Are you referring to a rolling log, where you could set a max and then oldest entries drop off when the max size is reached to make room for new entries? That would be great to have some logs continually running for those unexpected times when you'd like to look at something that happened but the logs weren't on. Regards, Susan On Fri, Aug 17, 2012 at 10:16 AM, Goodall, Andrew C ago...@jcp.com wrote: ** I’ve been wanting generational logging in ARS for a long time. I just learned that is now available with a new ar.cg parameter Max-Log-History ** ** I don’t know when this was implemented, maybe it was with 7.6.x but I wish BMC would have advertised this to admins or made this accessible on the Server Information Tab. e.g. Max-Log-History: 20 ** ** Regards, *Andrew C. Goodall* Software Engineer Development Services ago...@jcpenney.com *jcpenney* 6501 Legacy Drive Plano, TX 75024 jcp.com ** ** The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If the reader of this message is not the intended recipient, you are hereby notified that your access is unauthorized, and any review, dissemination, distribution or copying of this message including any attachments is strictly prohibited. If you are not the intended recipient, please contact the sender and delete the material from any computer. _attend WWRUG12 www.wwrug.com ARSlist: Where the Answers Are_ ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug12 www.wwrug12.com ARSList: Where the Answers Are
Re: ARS generational logging
Susan We are on 7604 and this is available you can define the size of the log and it keeps rolling. In an event like service restart it will create backup of the log file and start new log file so that you dont loose the log entry for time around the event. Ravi Date: Fri, 17 Aug 2012 17:21:00 -0500 From: suzanpal...@gmail.com Subject: Re: ARS generational logging To: arslist@ARSLIST.ORG ** Hi Andrew, Not sure what 'generational' logging is. Are you referring to a rolling log, where you could set a max and then oldest entries drop off when the max size is reached to make room for new entries? That would be great to have some logs continually running for those unexpected times when you'd like to look at something that happened but the logs weren't on. Regards, Susan On Fri, Aug 17, 2012 at 10:16 AM, Goodall, Andrew C ago...@jcp.com wrote: ** I’ve been wanting generational logging in ARS for a long time. I just learned that is now available with a new ar.cg parameter Max-Log-History I don’t know when this was implemented, maybe it was with 7.6.x but I wish BMC would have advertised this to admins or made this accessible on the Server Information Tab. e.g. Max-Log-History: 20 Regards, Andrew C. Goodall Software Engineer Development Services ago...@jcpenney.com jcpenney 6501 Legacy Drive Plano, TX 75024 jcp.com The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If the reader of this message is not the intended recipient, you are hereby notified that your access is unauthorized, and any review, dissemination, distribution or copying of this message including any attachments is strictly prohibited. If you are not the intended recipient, please contact the sender and delete the material from any computer. _attend WWRUG12 www.wwrug.com ARSlist: Where the Answers Are_ _attend WWRUG12 www.wwrug.com ARSlist: Where the Answers Are_ ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug12 www.wwrug12.com ARSList: Where the Answers Are
Re: ARS generational logging
It is going to help so much in working with support. Can't tell you how many times a log has been unworkable or useless because it has rolled over itself due to the fixed size readable limit, even 0 limit will stop at 2gb - not that is readable/manageable anyway Max-Log-History: 3 Sql.log - current log Sql.001.log ß oldest generation Sql.002.log Sql.003.log ß latest generation /rolled log Regards, Andrew C. Goodall Software Engineer Development Services ago...@jcpenney.com jcpenney 6501 Legacy Drive Plano, TX 75024 jcp.com From: Action Request System discussion list(ARSList) [mailto:arslist@arslist.org] On Behalf Of Susan Palmer Sent: Friday, August 17, 2012 5:21 PM To: arslist@arslist.org Subject: Re: ARS generational logging ** Hi Andrew, Not sure what 'generational' logging is. Are you referring to a rolling log, where you could set a max and then oldest entries drop off when the max size is reached to make room for new entries? That would be great to have some logs continually running for those unexpected times when you'd like to look at something that happened but the logs weren't on. Regards, Susan On Fri, Aug 17, 2012 at 10:16 AM, Goodall, Andrew C ago...@jcp.com wrote: ** I've been wanting generational logging in ARS for a long time. I just learned that is now available with a new ar.cg parameter Max-Log-History I don't know when this was implemented, maybe it was with 7.6.x but I wish BMC would have advertised this to admins or made this accessible on the Server Information Tab. e.g. Max-Log-History: 20 Regards, Andrew C. Goodall Software Engineer Development Services ago...@jcpenney.com jcpenney 6501 Legacy Drive Plano, TX 75024 jcp.com The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If the reader of this message is not the intended recipient, you are hereby notified that your access is unauthorized, and any review, dissemination, distribution or copying of this message including any attachments is strictly prohibited. If you are not the intended recipient, please contact the sender and delete the material from any computer. _attend WWRUG12 www.wwrug.com ARSlist: Where the Answers Are_ _attend WWRUG12 www.wwrug.com ARSlist: Where the Answers Are_ ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug12 www.wwrug12.com ARSList: Where the Answers Are
Re: ARS generational logging
That's more clear to me now. We're still at 7.5 so I guess we'll look at the next version that comes out for an upgrade hopefully next year. Thanks for the info Andrew and Ravi ! Susan On Fri, Aug 17, 2012 at 5:38 PM, Goodall, Andrew C ago...@jcp.com wrote: ** It is going to help so much in working with support. Can’t tell you how many times a log has been unworkable or useless because it has rolled over itself due to the fixed size “readable” limit, even 0 limit will stop at 2gb – not that is readable/manageable anyway Max-Log-History: 3 Sql.log - current log Sql.001.log ß oldest generation Sql.002.log Sql.003.log ß latest generation /rolled log ** ** ** ** Regards, *Andrew C. Goodall* Software Engineer Development Services ago...@jcpenney.com *jcpenney* 6501 Legacy Drive Plano, TX 75024 jcp.com ** ** *From:* Action Request System discussion list(ARSList) [mailto: arslist@arslist.org] *On Behalf Of *Susan Palmer *Sent:* Friday, August 17, 2012 5:21 PM *To:* arslist@arslist.org *Subject:* Re: ARS generational logging ** ** ** Hi Andrew, Not sure what 'generational' logging is. Are you referring to a rolling log, where you could set a max and then oldest entries drop off when the max size is reached to make room for new entries? That would be great to have some logs continually running for those unexpected times when you'd like to look at something that happened but the logs weren't on. Regards, Susan On Fri, Aug 17, 2012 at 10:16 AM, Goodall, Andrew C ago...@jcp.com wrote: ** I’ve been wanting generational logging in ARS for a long time. I just learned that is now available with a new ar.cg parameter Max-Log-History I don’t know when this was implemented, maybe it was with 7.6.x but I wish BMC would have advertised this to admins or made this accessible on the Server Information Tab. e.g. Max-Log-History: 20 Regards, *Andrew C. Goodall* Software Engineer Development Services ago...@jcpenney.com *jcpenney* 6501 Legacy Drive Plano, TX 75024 jcp.com The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If the reader of this message is not the intended recipient, you are hereby notified that your access is unauthorized, and any review, dissemination, distribution or copying of this message including any attachments is strictly prohibited. If you are not the intended recipient, please contact the sender and delete the material from any computer. _attend WWRUG12 www.wwrug.com ARSlist: Where the Answers Are_ _attend WWRUG12 www.wwrug.com ARSlist: Where the Answers Are_ _attend WWRUG12 www.wwrug.com ARSlist: Where the Answers Are_ ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug12 www.wwrug12.com ARSList: Where the Answers Are
Re: ARS generational logging
Any chance that applies to the arerror log too? On Aug 17, 2012 5:43 PM, Susan Palmer suzanpal...@gmail.com wrote: ** That's more clear to me now. We're still at 7.5 so I guess we'll look at the next version that comes out for an upgrade hopefully next year. Thanks for the info Andrew and Ravi ! Susan On Fri, Aug 17, 2012 at 5:38 PM, Goodall, Andrew C ago...@jcp.com wrote: ** It is going to help so much in working with support. Can’t tell you how many times a log has been unworkable or useless because it has rolled over itself due to the fixed size “readable” limit, even 0 limit will stop at 2gb – not that is readable/manageable anyway Max-Log-History: 3 Sql.log - current log Sql.001.log ß oldest generation Sql.002.log Sql.003.log ß latest generation /rolled log ** ** ** ** Regards, *Andrew C. Goodall* Software Engineer Development Services ago...@jcpenney.com *jcpenney* 6501 Legacy Drive Plano, TX 75024 jcp.com ** ** *From:* Action Request System discussion list(ARSList) [mailto: arslist@arslist.org] *On Behalf Of *Susan Palmer *Sent:* Friday, August 17, 2012 5:21 PM *To:* arslist@arslist.org *Subject:* Re: ARS generational logging ** ** ** Hi Andrew, Not sure what 'generational' logging is. Are you referring to a rolling log, where you could set a max and then oldest entries drop off when the max size is reached to make room for new entries? That would be great to have some logs continually running for those unexpected times when you'd like to look at something that happened but the logs weren't on. Regards, Susan On Fri, Aug 17, 2012 at 10:16 AM, Goodall, Andrew C ago...@jcp.com wrote: ** I’ve been wanting generational logging in ARS for a long time. I just learned that is now available with a new ar.cg parameter Max-Log-History I don’t know when this was implemented, maybe it was with 7.6.x but I wish BMC would have advertised this to admins or made this accessible on the Server Information Tab. e.g. Max-Log-History: 20 Regards, *Andrew C. Goodall* Software Engineer Development Services ago...@jcpenney.com *jcpenney* 6501 Legacy Drive Plano, TX 75024 jcp.com The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If the reader of this message is not the intended recipient, you are hereby notified that your access is unauthorized, and any review, dissemination, distribution or copying of this message including any attachments is strictly prohibited. If you are not the intended recipient, please contact the sender and delete the material from any computer. _attend WWRUG12 www.wwrug.com ARSlist: Where the Answers Are_ _attend WWRUG12 www.wwrug.com ARSlist: Where the Answers Are_ _attend WWRUG12 www.wwrug.com ARSlist: Where the Answers Are_ _attend WWRUG12 www.wwrug.com ARSlist: Where the Answers Are_ ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug12 www.wwrug12.com ARSList: Where the Answers Are
Re: ARS generational logging
I don't think so - but that would have been nice. I say that because the max log file parameter doesn't seem to apply to arerror.log so I don't expect this to either. L Regards, Andrew C. Goodall Software Engineer Development Services ago...@jcpenney.com jcpenney 6501 Legacy Drive Plano, TX 75024 jcp.com From: Action Request System discussion list(ARSList) [mailto:arslist@arslist.org] On Behalf Of Axton Sent: Friday, August 17, 2012 5:48 PM To: arslist@arslist.org Subject: Re: ARS generational logging ** Any chance that applies to the arerror log too? On Aug 17, 2012 5:43 PM, Susan Palmer suzanpal...@gmail.com wrote: ** That's more clear to me now. We're still at 7.5 so I guess we'll look at the next version that comes out for an upgrade hopefully next year. Thanks for the info Andrew and Ravi ! Susan On Fri, Aug 17, 2012 at 5:38 PM, Goodall, Andrew C ago...@jcp.com wrote: ** It is going to help so much in working with support. Can't tell you how many times a log has been unworkable or useless because it has rolled over itself due to the fixed size readable limit, even 0 limit will stop at 2gb - not that is readable/manageable anyway Max-Log-History: 3 Sql.log - current log Sql.001.log ß oldest generation Sql.002.log Sql.003.log ß latest generation /rolled log Regards, Andrew C. Goodall Software Engineer Development Services ago...@jcpenney.com jcpenney 6501 Legacy Drive Plano, TX 75024 jcp.com From: Action Request System discussion list(ARSList) [mailto:arslist@arslist.org] On Behalf Of Susan Palmer Sent: Friday, August 17, 2012 5:21 PM To: arslist@arslist.org Subject: Re: ARS generational logging ** Hi Andrew, Not sure what 'generational' logging is. Are you referring to a rolling log, where you could set a max and then oldest entries drop off when the max size is reached to make room for new entries? That would be great to have some logs continually running for those unexpected times when you'd like to look at something that happened but the logs weren't on. Regards, Susan On Fri, Aug 17, 2012 at 10:16 AM, Goodall, Andrew C ago...@jcp.com wrote: ** I've been wanting generational logging in ARS for a long time. I just learned that is now available with a new ar.cg parameter Max-Log-History I don't know when this was implemented, maybe it was with 7.6.x but I wish BMC would have advertised this to admins or made this accessible on the Server Information Tab. e.g. Max-Log-History: 20 Regards, Andrew C. Goodall Software Engineer Development Services ago...@jcpenney.com jcpenney 6501 Legacy Drive Plano, TX 75024 jcp.com The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If the reader of this message is not the intended recipient, you are hereby notified that your access is unauthorized, and any review, dissemination, distribution or copying of this message including any attachments is strictly prohibited. If you are not the intended recipient, please contact the sender and delete the material from any computer. _attend WWRUG12 www.wwrug.com ARSlist: Where the Answers Are_ _attend WWRUG12 www.wwrug.com ARSlist: Where the Answers Are_ _attend WWRUG12 www.wwrug.com ARSlist: Where the Answers Are_ _attend WWRUG12 www.wwrug.com ARSlist: Where the Answers Are_ _attend WWRUG12 www.wwrug.com ARSlist: Where the Answers Are_ ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug12 www.wwrug12.com ARSList: Where the Answers Are