Link to home
Start Free TrialLog in
Avatar of Pete
PeteFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Ex2010 Retention Policy - LOGGING

My retention policies are working (messages being deleted etc) but where are the log files, or events for this 'cleaning up?'.

I have run the commands:
Set-MailboxServer -Identity mailserver -retentionLogForManagedFoldersEnabled $true
Set-MailboxServer -Identity mailserver -SubjectLogForManagedFoldersEnabled $true


but any files in the location:
"C:\Program Files\Microsoft\Exchange Server\V14\Logging\Managed Folder Assistant"

seem to relate to my now removed 'Message Records Management'. These logs are still being added to with the MRM 'starting to process', but only for mailboxes that haven't had retention polcies applied to them yet (just finishing testing).

what's going on?
Avatar of Amit
Amit
Flag of India image

Avatar of Pete

ASKER

Thanks but this does not answer the question, the Microsft reply asks whether MRM 1.0 Managed folders have been removed, and if the powershell command to enable logging been run. My question states both those have been actioned.

Any ideas?
I don't have 2010 right now to test it. But you can read this MS Article...See if something is missing

http://technet.microsoft.com/en-us/library/bb123507.aspx

I will try to search more on this.

Thanks
Amit
just to make sure: the path that shows up when running the Get-MailboxServer cmdLet is for sure set to: C:\Program Files\Microsoft\Exchange Server\V14\Logging\Managed Folder Assistant?
Avatar of Pete

ASKER

mmmmm, not sure, see attached


out.txt
Sorry, try running this command:

Get-MailboxServer EX01 | fl name , Logpath*
note to the post EX01 should be replace by the name of your server
Avatar of Pete

ASKER

sadly that does give the path
"C:\Program Files\Microsoft\Exchange Server\V14\Logging\Managed Folder Assistant"

Ok let's try this:

1. Start the assistant manually: Start-ManagedFolderAssistant
2. Check if something is written to the log;
3. if not, change the log path to a temporary test-path and try running the assistant manually again.

Grts,

Michael
Avatar of Pete

ASKER

I have created a new path to the log file:
c:\retention_policy_log

run Managed Folder Assistant manually and no log files appear after waiting 10+ mins.

See screenshot attached.

(This is Exchange 2010 sp1 if it makes any difference)
screen.doc
ASKER CERTIFIED SOLUTION
Avatar of MichaelVH
MichaelVH
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Pete

ASKER

OK, so that states there is no logging for retention policy processing by the server. The tech articles out there are still very vague about everything I have investigated with retention policies. It's a shame this has been removed, the 2003 logging and reporting (I think I got an email every week) was excellent.