Click here to monitor SSC
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
SSC Journeyman
SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)

Group: General Forum Members
Points: 89 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
Ten Centuries
Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)

Group: General Forum Members
Points: 1222 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
SSC Journeyman
SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)

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

Thank you,
Tim
Paresh Randeria
Paresh Randeria
Valued Member
Valued Member (58 reputation)Valued Member (58 reputation)Valued Member (58 reputation)Valued Member (58 reputation)Valued Member (58 reputation)Valued Member (58 reputation)Valued Member (58 reputation)Valued Member (58 reputation)

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

Where the DBCC output message log file will be created?
george sibbald
george sibbald
SSCertifiable
SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)SSCertifiable (6.3K reputation)

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

---------------------------------------------------------------------
MonkeyPaw2u
MonkeyPaw2u
SSC Journeyman
SSC Journeyman (99 reputation)SSC Journeyman (99 reputation)SSC Journeyman (99 reputation)SSC Journeyman (99 reputation)SSC Journeyman (99 reputation)SSC Journeyman (99 reputation)SSC Journeyman (99 reputation)SSC Journeyman (99 reputation)

Group: General Forum Members
Points: 99 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-Insane
SSC-Insane (21K reputation)SSC-Insane (21K reputation)SSC-Insane (21K reputation)SSC-Insane (21K reputation)SSC-Insane (21K reputation)SSC-Insane (21K reputation)SSC-Insane (21K reputation)SSC-Insane (21K reputation)

Group: General Forum Members
Points: 21055 Visits: 18258
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