Author |
Message
|
mqmike |
Posted: Fri Aug 25, 2006 4:55 am Post subject: Circular Logging |
|
|
Acolyte
Joined: 09 Jul 2004 Posts: 63
|
I understand that circular logging is used to provide restart recovery. Are all messages still logged in circular logging though - i.e. updates are made to the logs first and then to the queues or is that just in linear?
Also if I use circular logging with 10 Primaries, will I always see 10 log files in the filesystem (assuming no secondaries have kicked in), or are they only used as needed. E.g. only three active logs are actaully needed by the queue manager so after finishing with the third, it will then go overwrite the first. |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Aug 25, 2006 5:00 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Circular vs Linear logging does not affect whether messages are logged or not.
Primary log files always exist. So if you define 10 primary logs under ciruclar logging, the rollover to the first log file will happen when the 10th log file is full.
Secondary log files are created or deleted as needed.
I'm not positive, without looking it up, about whether log rollover will occur when the last primary log is full but there are available secondary logs. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
mqmike |
Posted: Fri Aug 25, 2006 5:05 am Post subject: |
|
|
Acolyte
Joined: 09 Jul 2004 Posts: 63
|
Thanks for the quick repsonse!
One of our qmgrs (circular) has 11 primaries and 1 secondary defined. Only 10 logs appear in the directory though which is odd - I would have expected 11.
Also it flies through the 10 logs in the space of about 3 mins - suggesting to me that the logs files aren't large enough - would you agree? |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Aug 25, 2006 5:13 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Maybe someone changed the LogPrimary value, but didn't restart the queue manager. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
vennela |
Posted: Sun Aug 27, 2006 8:22 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
If you have defined 20 logfiles and see only 10 then that's not uncommon. More logfiles will be created as necessary and not upfront. |
|
Back to top |
|
 |
|