By default Commerce Server’s pipelines log to %WEBROOT%\pipelines\log, is there a configuration value that can change this location?
By default Commerce Server’s pipelines log to %WEBROOT%\pipelines\log , is there a configuration value
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I don’t believe you can do this via the Commerce Server 2007 API or configuration. However, I have achieved this by using the Windows mklink command to create an NTFS symbolic link (supported on Windows Server 2008, Vista and 7).
How to re-locate the Commerce Server pipeline log using mklink
%WEBROOT%\pipelines\logexists, delete it.x:\new\location\path)mklink /D %WEBROOT%\pipelines\log x:\new\location\pathDisclaimer: I have only used this on a development machine. I do not know of any reason why it should not work for you in production, but please test and use at your own risk!
Beware the Dragons: I’m not sure the pipeline logging gracefully handles concurrent PCF executions (common in prod). Microsoft also explicitly advise against enabling pipeline logging in production.