Author |
Message
|
itsme_001 |
Posted: Fri Feb 13, 2009 2:31 am Post subject: LQ Logs path needed |
|
|
Disciple
Joined: 02 Feb 2009 Posts: 157
|
The MQ logs are needed for various Servers. This is needed to track message movement between servers.
Have chked the path C:/Program Files/IBM/Websphere MQ/log/qmgrname/active/...
But could not find any recent logs.
Wht is that missing |
|
Back to top |
|
 |
mvic |
Posted: Fri Feb 13, 2009 2:33 am Post subject: Re: LQ Logs path needed |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
Please explain further why you need these logs, and why you are looking in that directory for them. |
|
Back to top |
|
 |
Vitor |
Posted: Fri Feb 13, 2009 2:37 am Post subject: Re: LQ Logs path needed |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
itsme_001 wrote: |
The MQ logs are needed for various Servers. This is needed to track message movement between servers. |
No they are not.
itsme_001 wrote: |
Wht is that missing |
The format of the logs so you can read them? The logs are in a propreitory format which IBM doesn't publish, and can change (they did v5.3->v6).
As a side note, Windows queue managers get annoyed if anything else is acceessing their logs, and do fall over as a result. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
exerk |
Posted: Fri Feb 13, 2009 2:39 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
What, precisely, do you mean by recent logs? If using circular logs you will see S0000000.LOG to Snnnnnnn.LOG depending on how many were specified, and the content will be overwritten as the logs wrap (look at the time/date stamp on the log for the last 'touch'). If using linear logs you will see S0000000.LOG to Snnnnnnn.LOG incrementing as new logs are formatted and written.
If you want to track message movement between servers use a commercial product (if there is one out there) or use application journalling. There is plenty of discussion on the boards about the utility of it, and about finding specific messages within logs - next to impossible I'd say if you're using circular logs.
EDIT: And as my worthy master points out - don't! _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Last edited by exerk on Fri Feb 13, 2009 2:40 am; edited 1 time in total |
|
Back to top |
|
 |
itsme_001 |
Posted: Fri Feb 13, 2009 2:39 am Post subject: Re: LQ Logs path needed |
|
|
Disciple
Joined: 02 Feb 2009 Posts: 157
|
mvic wrote: |
Please explain further why you need these logs, and why you are looking in that directory for them. |
These logs are needed to track message movement between the servers. |
|
Back to top |
|
 |
exerk |
Posted: Fri Feb 13, 2009 2:42 am Post subject: Re: LQ Logs path needed |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
itsme_001 wrote: |
mvic wrote: |
Please explain further why you need these logs, and why you are looking in that directory for them. |
These logs are needed to track message movement between the servers. |
Vitor wrote: |
No they are not. |
With the addition of ! _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
Vitor |
Posted: Fri Feb 13, 2009 2:42 am Post subject: Re: LQ Logs path needed |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
itsme_001 wrote: |
mvic wrote: |
Please explain further why you need these logs, and why you are looking in that directory for them. |
These logs are needed to track message movement between the servers. |
No they're not, as exerk points out circular logs are impossible to use for this and as I pointed out even linear logs are not in a published format. You really don't want the pain of digging through them.
exerk wrote: |
If you want to track message movement between servers use a commercial product (if there is one out there) or use application journalling |
I'll leave a passing Cressida person to discuss if any of their product set can be used for this. I'd go with application logging, for reasons endlessly discussed on the forum. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Feb 13, 2009 10:12 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
MQLogs are not at all suited to track traffic between qmgrs. These logs will only hold information for persistent messages. All non persistent traffic is not logged as the priority here is speed. Some non persistent messages do not even show up in queue MQI statistics as the handoff can be done in memory from the putting program to the getting application...
What you really want to do is define the reason for the requirement, verify that the traffic conforms to the reason and look at application logging for this type of requirement.
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
itsme_001 |
Posted: Tue Feb 17, 2009 11:01 pm Post subject: |
|
|
Disciple
Joined: 02 Feb 2009 Posts: 157
|
the issue here is that, after last week when there was a reboot of the server; since then there hasn't been a single log created. i need to those logs to be available for verification purpose to check if the transaction has happened properly or not.
How can I find them? is there any option which has disabled the creation of the log files? |
|
Back to top |
|
 |
exerk |
Posted: Tue Feb 17, 2009 11:53 pm Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
itsme_001 wrote: |
the issue here is that, after last week when there was a reboot of the server; since then there hasn't been a single log created. i need to those logs to be available for verification purpose to check if the transaction has happened properly or not.
How can I find them? is there any option which has disabled the creation of the log files? |
Not if your queue manager is running! If you have not seen any new logs created the probability (certainty in fact) is that you are using circular logging, so check the last access time/date of your logs - but do not try looking in them - and please do heed the warning of my Venerable Master:
Vitor wrote: |
...As a side note, Windows queue managers get annoyed if anything else is accessing their logs, and do fall over as a result... |
_________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
itsme_001 |
Posted: Wed Feb 18, 2009 12:08 am Post subject: |
|
|
Disciple
Joined: 02 Feb 2009 Posts: 157
|
exerk wrote: |
itsme_001 wrote: |
the issue here is that, after last week when there was a reboot of the server; since then there hasn't been a single log created. i need to those logs to be available for verification purpose to check if the transaction has happened properly or not.
How can I find them? is there any option which has disabled the creation of the log files? |
Not if your queue manager is running! If you have not seen any new logs created the probability (certainty in fact) is that you are using circular logging, so check the last access time/date of your logs - but do [b]not try looking in them - and please do heed the warning of my Venerable Master:[/b]
Vitor wrote: |
...As a side note, Windows queue managers get annoyed if anything else is accessing their logs, and do fall over as a result... |
|
Do you mean that I should not open the log files.... just chk the date of their creation.... |
|
Back to top |
|
 |
exerk |
Posted: Wed Feb 18, 2009 12:23 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
itsme_001 wrote: |
...Do you mean that I should not open the log files.... |
Yes!
itsme_001 wrote: |
...just chk the date of their creation.... |
No!
exerk wrote: |
...check the last access time/date... |
Sort by 'Date Modified'  _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
itsme_001 |
Posted: Wed Feb 18, 2009 12:49 am Post subject: |
|
|
Disciple
Joined: 02 Feb 2009 Posts: 157
|
exerk wrote: |
itsme_001 wrote: |
...Do you mean that I should not open the log files.... |
Yes!
itsme_001 wrote: |
...just chk the date of their creation.... |
No!
exerk wrote: |
...check the last access time/date... |
Sort by 'Date Modified'  |
its showing me the date before it was rebooted. After reboot nothing has happened since the logs date modifued still shows the older date. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Feb 18, 2009 12:53 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
itsme_001 wrote: |
its showing me the date before it was rebooted. After reboot nothing has happened since the logs date modifued still shows the older date. |
Then you're using non-persistent messages, or your queue manager isn't running, or you're looking in the wrong directory.
You still shouldn't be using these log files for any user purpose. It's at best pointless and at worst dangerous. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
SAFraser |
Posted: Wed Feb 18, 2009 8:43 am Post subject: |
|
|
 Shaman
Joined: 22 Oct 2003 Posts: 742 Location: Austin, Texas, USA
|
If you are looking for evidence of specific transaction activity, why not check some statistics inside MQ? Such as last put/get dates & times, channel activity, and so forth.
I think we are not clear about what it is you are trying to prove to your customer....? |
|
Back to top |
|
 |
|