SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Maintenance plan log file path


Maintenance plan log file path

Author
Message
tew
tew
Old Hand
Old Hand (313 reputation)Old Hand (313 reputation)Old Hand (313 reputation)Old Hand (313 reputation)Old Hand (313 reputation)Old Hand (313 reputation)Old Hand (313 reputation)Old Hand (313 reputation)

Group: General Forum Members
Points: 313 Visits: 318
We are performing some disk maintenance. In short, I need to change the path for the maintenance plan log files since this disk is going away. I have changed the path for the Agent logs, but can't find a way to change the default path for maintenance plan log files. Can someone help me out?

thank you,
Tim
KenSimmons
KenSimmons
SSCrazy
SSCrazy (2.6K reputation)SSCrazy (2.6K reputation)SSCrazy (2.6K reputation)SSCrazy (2.6K reputation)SSCrazy (2.6K reputation)SSCrazy (2.6K reputation)SSCrazy (2.6K reputation)SSCrazy (2.6K reputation)

Group: General Forum Members
Points: 2594 Visits: 2614
Open the Maintenance Plan In Management Studio and at the very top there is a little icon that looks like two reports (right next to Manage Connections). Click the icon and it will bring up the Reporting and Logging dialog box where you can change the path.

Ken Simmons
http://twitter.com/KenSimmons
tew
tew
Old Hand
Old Hand (313 reputation)Old Hand (313 reputation)Old Hand (313 reputation)Old Hand (313 reputation)Old Hand (313 reputation)Old Hand (313 reputation)Old Hand (313 reputation)Old Hand (313 reputation)

Group: General Forum Members
Points: 313 Visits: 318
Ken,
You sir are a golden demigod!

Thank you,
Tim
Paresh Randeria
Paresh Randeria
SSC-Enthusiastic
SSC-Enthusiastic (180 reputation)SSC-Enthusiastic (180 reputation)SSC-Enthusiastic (180 reputation)SSC-Enthusiastic (180 reputation)SSC-Enthusiastic (180 reputation)SSC-Enthusiastic (180 reputation)SSC-Enthusiastic (180 reputation)SSC-Enthusiastic (180 reputation)

Group: General Forum Members
Points: 180 Visits: 322
I have DBCC in the maintenance plan.

Where the DBCC output message log file will be created?
george sibbald
george sibbald
One Orange Chip
One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)One Orange Chip (25K reputation)

Group: General Forum Members
Points: 25504 Visits: 13701
in the log directory created by SQL under your chosen installation path

---------------------------------------------------------------------
MonkeyPaw2u
MonkeyPaw2u
SSC-Enthusiastic
SSC-Enthusiastic (111 reputation)SSC-Enthusiastic (111 reputation)SSC-Enthusiastic (111 reputation)SSC-Enthusiastic (111 reputation)SSC-Enthusiastic (111 reputation)SSC-Enthusiastic (111 reputation)SSC-Enthusiastic (111 reputation)SSC-Enthusiastic (111 reputation)

Group: General Forum Members
Points: 111 Visits: 23
I have an issue with the logging. The output is trying to write to K:\\Backup_ProdI1\\Result_Files\\MaintenancePlan.txt, even though I have selected K:\Backup_ProdI1\Result_Files\MaintenancePlan.txt as the output path through the Reporting and Logging dialog window. Why is SQL adding the extra "\" at each directory marker and more importantly, how do I get rid of it so my backups start getting logged?

PS... this is SQL 2012.
SQLRNNR
SQLRNNR
SSC Guru
SSC Guru (68K reputation)SSC Guru (68K reputation)SSC Guru (68K reputation)SSC Guru (68K reputation)SSC Guru (68K reputation)SSC Guru (68K reputation)SSC Guru (68K reputation)SSC Guru (68K reputation)

Group: General Forum Members
Points: 68499 Visits: 18570
MonkeyPaw2u (5/22/2014)
I have an issue with the logging. The output is trying to write to K:\\Backup_ProdI1\\Result_Files\\MaintenancePlan.txt, even though I have selected K:\Backup_ProdI1\Result_Files\MaintenancePlan.txt as the output path through the Reporting and Logging dialog window. Why is SQL adding the extra "\" at each directory marker and more importantly, how do I get rid of it so my backups start getting logged?

PS... this is SQL 2012.


That is added due to the nature of maintenance plans and the XML behind the scenes.
It should have no impact on writing out to the log file so long as the path exists and permissions are in place for that path.



Jason AKA CirqueDeSQLeil
I have given a name to my pain...
MCM SQL Server, MVP


SQL RNNR

Posting Performance Based Questions - Gail Shaw

Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search