Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Is there a way to monitor the exchange logs in realtime like using 'tail -f /var/log/mail.log' in linux? The GUI tools for exchange under SBS 2008 suck for looking at what's going on in realtime.

share|improve this question
    
What specifically are you after in real time that can't wait a day to analyse the whole tracking log? –  Ben Pilbrow Aug 26 '10 at 21:11
    
It's about troubleshooting mail delivery problems with a host without me constantly having to hit 'go back' in the Message Tracking Wizard, followed by scrolling down and then clicking 'next' and waiting 10 seconds for Exchange to re-search through it's database. –  Aaron C. de Bruyn Aug 26 '10 at 21:41
    
Not that I think it will be much quicker, but have you tried with the Exchange Management Shell? Something like Get-MessageTrackingLog -Eventid FAIL or Get-MessageTrackingLog -Recipients "recipient1","recipient2","etc" might to do the trick. (Warning: that was off the top of my head, so might fail on syntax) –  Ben Pilbrow Aug 26 '10 at 21:52

2 Answers 2

up vote 0 down vote accepted

Exchange does not generate that kind of log. The closest it gets is deep in the message tree.

%ProgramFiles%\Microsoft\Exchange Server\TransportRoles\Logs\MessageTracking

As I said, that's not directly equivalent to /var/log/mail.log, but it is the store that Message Tracking sorts through.

share|improve this answer
    
This is why I love postfix (and to a slightly lesser extent every other mail server on Linux): tail -f /var/log/mail.log –  Aaron C. de Bruyn Sep 17 '10 at 16:40

Which logs specifically are you after? There are connectivity logs, message tracking logs, and protocol logs.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.