<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Rolling log option is getting reverted to '_' from '_#Y.#m.#d_#H.#M.#s.log' every night. in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Rolling-log-option-is-getting-reverted-to-from-Y-m-d-H-M-s-log/m-p/632508#M18476</link>
    <description>&lt;P&gt;Thanks Rajkumar,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That would occur if you change the rolling log option from "_" to "&lt;SPAN&gt;_#Y.#m.#d_#H.#M.#s.log" then deploying the job while that setting was present, without making any changes to the logconfig file. The logconfig.apm.xml file takes the contents of the -LOG option, which would be something along the lines of&amp;nbsp; "/path/jobname_#Y.#m.#d_#H.#M.#s.log" and appends the date and time to that.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Setting the rolling log option back to "_" and redeploying the job should have the log generated as expected.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 16 Mar 2020 17:54:42 GMT</pubDate>
    <dc:creator>gwootton</dc:creator>
    <dc:date>2020-03-16T17:54:42Z</dc:date>
    <item>
      <title>Rolling log option is getting reverted to '_' from '_#Y.#m.#d_#H.#M.#s.log' every night.</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Rolling-log-option-is-getting-reverted-to-from-Y-m-d-H-M-s-log/m-p/631832#M18462</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a part of migration project testing, we are trying to modify the rolling log options in app server (SMC)&amp;nbsp;to '_#Y.#m.#d_#H.#M.#s.log' from '_'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But&amp;nbsp; rolling log options is getting reverted back to '_' every night. Please let me know if there is any other config files to be changed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rajkumar.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2020 12:51:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Rolling-log-option-is-getting-reverted-to-from-Y-m-d-H-M-s-log/m-p/631832#M18462</guid>
      <dc:creator>Rajkumar20</dc:creator>
      <dc:date>2020-03-13T12:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling log option is getting reverted to '_' from '_#Y.#m.#d_#H.#M.#s.log' every night.</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Rolling-log-option-is-getting-reverted-to-from-Y-m-d-H-M-s-log/m-p/631871#M18465</link>
      <description>&lt;P&gt;Hi Rajkumar!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is a function of the SAS Environment Manager Service Architecture Framework. When enabled, the logDiscovery job sets this value to "_" in SAS Management Console so when jobs are deployed their -LOG option is specified as the log path followed by the job name and _.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is then picked up by the SASApp/BatchServer/logconfig.apm.xml, which appends the date and time to the end of what is defined in the -LOG option using the %S{App.Log} conversion character:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;lt;param name="FileNamePattern" value="%S{App.Log}%d{yyyy.MM.dd_hh.mm.ss}.log"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can confirm this by looking in the logDiscovery logs in &amp;lt;SAS-configuration-directory&amp;gt;/Web/SASEnvironmentManager/emi-client/Logs/logDiscovery_date_time.log, it will contain this stanza referencing the change.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2020-03-13 02:10:35,752 INFO [main] [configureAPM] - ****************************&lt;BR /&gt;2020-03-13 02:10:35,752 INFO [main] [configureAPM] - Found 1 'Server.DataStepBatch' objects in metadata&lt;BR /&gt;2020-03-13 02:10:35,769 INFO [main] [configureAPM] - No Update: property value 'BatchServer.DataStep.Property.LogExt.xmlKey.txt' is correct&lt;BR /&gt;2020-03-13 02:10:35,770 INFO [main] [configureAPM] - Existing value is '_'&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2020 14:08:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Rolling-log-option-is-getting-reverted-to-from-Y-m-d-H-M-s-log/m-p/631871#M18465</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2020-03-13T14:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling log option is getting reverted to '_' from '_#Y.#m.#d_#H.#M.#s.log' every night.</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Rolling-log-option-is-getting-reverted-to-from-Y-m-d-H-M-s-log/m-p/631899#M18466</link>
      <description>&lt;P&gt;Thanks much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can see the below in the logs. Please let me know how I can change the rolling log options as '_#Y.#m.#d_#H.#M.#s.log'&amp;nbsp; and stop it reverting back to '_'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2020-03-13 09:05:15,872 INFO&amp;nbsp; [main] [configureAPM] - Found 3 'LogicalServer.PooledWorkspace' objects in metadata&lt;BR /&gt;2020-03-13 09:05:15,969 INFO&amp;nbsp; [main] [configureAPM] - No Update: property value 'Initialization program' is correct&lt;BR /&gt;2020-03-13 09:05:15,969 INFO&amp;nbsp; [main] [configureAPM] - Existing value is 'SASEnvironment/SASMacro/apm_request_init.sas'&lt;/P&gt;&lt;P&gt;2020-03-13 09:05:15,971 INFO&amp;nbsp; [main] [configureAPM] - No Update: property value 'Termination program' is correct&lt;BR /&gt;2020-03-13 09:05:15,971 INFO&amp;nbsp; [main] [configureAPM] - Existing value is 'SASEnvironment/SASMacro/apm_request_term.sas'&lt;/P&gt;&lt;P&gt;2020-03-13 09:05:15,972 INFO&amp;nbsp; [main] [configureAPM] - No Update: property value 'Initialization program' is correct&lt;BR /&gt;2020-03-13 09:05:15,972 INFO&amp;nbsp; [main] [configureAPM] - Existing value is 'SASEnvironment/SASMacro/apm_request_init.sas'&lt;/P&gt;&lt;P&gt;2020-03-13 09:05:15,973 INFO&amp;nbsp; [main] [configureAPM] - No Update: property value 'Termination program' is correct&lt;BR /&gt;2020-03-13 09:05:15,973 INFO&amp;nbsp; [main] [configureAPM] - Existing value is 'SASEnvironment/SASMacro/apm_request_term.sas'&lt;/P&gt;&lt;P&gt;2020-03-13 09:05:15,974 INFO&amp;nbsp; [main] [configureAPM] - No Update: property value 'Initialization program' is correct&lt;BR /&gt;2020-03-13 09:05:15,974 INFO&amp;nbsp; [main] [configureAPM] - Existing value is 'SASEnvironment/SASMacro/apm_request_init.sas'&lt;/P&gt;&lt;P&gt;2020-03-13 09:05:15,975 INFO&amp;nbsp; [main] [configureAPM] - No Update: property value 'Termination program' is correct&lt;BR /&gt;2020-03-13 09:05:15,975 INFO&amp;nbsp; [main] [configureAPM] - Existing value is 'SASEnvironment/SASMacro/apm_request_term.sas'&lt;/P&gt;&lt;P&gt;2020-03-13 09:05:16,038 INFO&amp;nbsp; [main] [configureAPM] - ****************************&lt;BR /&gt;2020-03-13 09:05:16,038 INFO&amp;nbsp; [main] [configureAPM] - Found 3 'LogicalServer.StoredProcess' objects in metadata&lt;BR /&gt;2020-03-13 09:05:16,046 INFO&amp;nbsp; [main] [configureAPM] - No Update: property value 'Initialization program' is correct&lt;BR /&gt;2020-03-13 09:05:16,046 INFO&amp;nbsp; [main] [configureAPM] - Existing value is 'SASEnvironment/SASMacro/apm_request_init.sas'&lt;/P&gt;&lt;P&gt;2020-03-13 09:05:16,047 INFO&amp;nbsp; [main] [configureAPM] - No Update: property value 'Termination program' is correct&lt;BR /&gt;2020-03-13 09:05:16,047 INFO&amp;nbsp; [main] [configureAPM] - Existing value is 'SASEnvironment/SASMacro/apm_request_term.sas'&lt;/P&gt;&lt;P&gt;2020-03-13 09:05:16,049 INFO&amp;nbsp; [main] [configureAPM] - No Update: property value 'Initialization program' is correct&lt;BR /&gt;2020-03-13 09:05:16,049 INFO&amp;nbsp; [main] [configureAPM] - Existing value is 'SASEnvironment/SASMacro/apm_request_init.sas'&lt;/P&gt;&lt;P&gt;2020-03-13 09:05:16,050 INFO&amp;nbsp; [main] [configureAPM] - No Update: property value 'Termination program' is correct&lt;BR /&gt;2020-03-13 09:05:16,050 INFO&amp;nbsp; [main] [configureAPM] - Existing value is 'SASEnvironment/SASMacro/apm_request_term.sas'&lt;/P&gt;&lt;P&gt;2020-03-13 09:05:16,060 INFO&amp;nbsp; [main] [configureAPM] - No Update: property value 'Initialization program' is correct&lt;BR /&gt;2020-03-13 09:05:16,060 INFO&amp;nbsp; [main] [configureAPM] - Existing value is 'SASEnvironment/SASMacro/apm_request_init.sas'&lt;/P&gt;&lt;P&gt;2020-03-13 09:05:16,061 INFO&amp;nbsp; [main] [configureAPM] - No Update: property value 'Termination program' is correct&lt;BR /&gt;2020-03-13 09:05:16,062 INFO&amp;nbsp; [main] [configureAPM] - Existing value is 'SASEnvironment/SASMacro/apm_request_term.sas'&lt;/P&gt;&lt;P&gt;2020-03-13 09:05:16,160 INFO&amp;nbsp; [main] [configureAPM] - ****************************&lt;BR /&gt;2020-03-13 09:05:16,160 INFO&amp;nbsp; [main] [configureAPM] - Found 2 'Server.DataStepBatch' objects in metadata&lt;BR /&gt;2020-03-13 09:05:16,167 INFO&amp;nbsp; [main] [configureAPM] - No Update: property value 'BatchServer.DataStep.Property.LogExt.xmlKey.txt' is correct&lt;BR /&gt;2020-03-13 09:05:16,167 INFO&amp;nbsp; [main] [configureAPM] - Existing value is '_'&lt;/P&gt;&lt;P&gt;2020-03-13 09:05:16,168 INFO&amp;nbsp; [main] [configureAPM] - No Update: property value 'BatchServer.DataStep.Property.LogExt.xmlKey.txt' is correct&lt;BR /&gt;2020-03-13 09:05:16,168 INFO&amp;nbsp; [main] [configureAPM] - Existing value is '_'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rajkumar.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2020 15:02:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Rolling-log-option-is-getting-reverted-to-from-Y-m-d-H-M-s-log/m-p/631899#M18466</guid>
      <dc:creator>Rajkumar20</dc:creator>
      <dc:date>2020-03-13T15:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling log option is getting reverted to '_' from '_#Y.#m.#d_#H.#M.#s.log' every night.</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Rolling-log-option-is-getting-reverted-to-from-Y-m-d-H-M-s-log/m-p/631904#M18467</link>
      <description>&lt;P&gt;Thanks Rajkumar,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This setting is expected for the Service Architecture Framework to function, are you sure you want to change it? What is the problem you are trying to solve?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Disabling the Service Architecture Framework would prevent the logDiscovery script from modifying this setting. The documentation for doing this can be found here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://go.documentation.sas.com/?docsetId=evug&amp;amp;docsetTarget=n1pt9o4oqia6gtn12c18raatxkzg.htm&amp;amp;docsetVersion=2.5&amp;amp;locale=en" target="_self"&gt;SAS® Environment Manager 2.5: User’s Guide - Disabling the ACM and APM ETL Processes&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2020 15:20:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Rolling-log-option-is-getting-reverted-to-from-Y-m-d-H-M-s-log/m-p/631904#M18467</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2020-03-13T15:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling log option is getting reverted to '_' from '_#Y.#m.#d_#H.#M.#s.log' every night.</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Rolling-log-option-is-getting-reverted-to-from-Y-m-d-H-M-s-log/m-p/632497#M18473</link>
      <description>&lt;P&gt;When we submit a batch job, we need the log file to be generated as following,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, a Job 'XYZ' submitted today(16th March 2020) at 10.00 AM.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Expected to be created as: XYZ_2020.03.16_10.00.00.log&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;instead the log file is generated as below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;XYZ&lt;STRONG&gt;_#Y.#m.#d_#H.#M.#s.log&lt;/STRONG&gt;2020.03.16_10.00.00.log&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please suggest us a way to generate the log file as expected.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2020 17:41:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Rolling-log-option-is-getting-reverted-to-from-Y-m-d-H-M-s-log/m-p/632497#M18473</guid>
      <dc:creator>Rajkumar20</dc:creator>
      <dc:date>2020-03-16T17:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling log option is getting reverted to '_' from '_#Y.#m.#d_#H.#M.#s.log' every night.</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Rolling-log-option-is-getting-reverted-to-from-Y-m-d-H-M-s-log/m-p/632508#M18476</link>
      <description>&lt;P&gt;Thanks Rajkumar,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That would occur if you change the rolling log option from "_" to "&lt;SPAN&gt;_#Y.#m.#d_#H.#M.#s.log" then deploying the job while that setting was present, without making any changes to the logconfig file. The logconfig.apm.xml file takes the contents of the -LOG option, which would be something along the lines of&amp;nbsp; "/path/jobname_#Y.#m.#d_#H.#M.#s.log" and appends the date and time to that.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Setting the rolling log option back to "_" and redeploying the job should have the log generated as expected.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2020 17:54:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Rolling-log-option-is-getting-reverted-to-from-Y-m-d-H-M-s-log/m-p/632508#M18476</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2020-03-16T17:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling log option is getting reverted to '_' from '_#Y.#m.#d_#H.#M.#s.log' every night.</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Rolling-log-option-is-getting-reverted-to-from-Y-m-d-H-M-s-log/m-p/632510#M18477</link>
      <description>Where are you specifying the log file name?  I think the # directives work only in the LOGPARM option, not in ALTLOG or LOG.&lt;BR /&gt;I ended up writing a script file to calculate the correct names.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Mar 2020 17:56:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Rolling-log-option-is-getting-reverted-to-from-Y-m-d-H-M-s-log/m-p/632510#M18477</guid>
      <dc:creator>JackHamilton</dc:creator>
      <dc:date>2020-03-16T17:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling log option is getting reverted to '_' from '_#Y.#m.#d_#H.#M.#s.log' every night.</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Rolling-log-option-is-getting-reverted-to-from-Y-m-d-H-M-s-log/m-p/634045#M18515</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rolling log option in SAS Manangement console is set as '_'. Please find attached 'logconfig.apm.xml' &amp;amp; 'logconfig.xml' files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But still the log file is getting generated in the same format.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if any changes to be done in the config files.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2020 07:05:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Rolling-log-option-is-getting-reverted-to-from-Y-m-d-H-M-s-log/m-p/634045#M18515</guid>
      <dc:creator>Rajkumar20</dc:creator>
      <dc:date>2020-03-23T07:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling log option is getting reverted to '_' from '_#Y.#m.#d_#H.#M.#s.log' every night.</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Rolling-log-option-is-getting-reverted-to-from-Y-m-d-H-M-s-log/m-p/634096#M18516</link>
      <description>&lt;P&gt;Thanks Rajkumar,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After reverting the configuration did you redeploy the job in question? In the properties for the deployed job in SAS Management Console under the Scheduling Details tab it should list the command. Confirm the -LOG option specifies jobname_ rather than jobname_#Y.#m.#d_#H.#M.#s.log:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;lt;SAS-Configuration-Directory&amp;gt;&lt;/EM&gt;/Lev&lt;EM&gt;n&lt;/EM&gt;/SASApp/BatchServer/sasbatch.sh -log &lt;EM&gt;&amp;lt;SAS-Configuration-Directory&amp;gt;&lt;/EM&gt;/Lev&lt;EM&gt;n&lt;/EM&gt;/SASApp/BatchServer/Logs/&lt;STRONG&gt;&lt;EM&gt;job_name&lt;/EM&gt;_&lt;/STRONG&gt; ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it specifies #Y.#m.#d_#H.#M.#s.log, you should redeploy the job. This can be done by right-clicking the Schedule Manager plug-in and selecting "Manage Deployed Jobs", selecting the job in question and clicking "Redeploy".&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This will reset the "command"&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2020 13:22:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Rolling-log-option-is-getting-reverted-to-from-Y-m-d-H-M-s-log/m-p/634096#M18516</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2020-03-23T13:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling log option is getting reverted to '_' from '_#Y.#m.#d_#H.#M.#s.log' every night.</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Rolling-log-option-is-getting-reverted-to-from-Y-m-d-H-M-s-log/m-p/634393#M18525</link>
      <description>&lt;P&gt;Thanks much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find attached the steps while redeploying jobs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Logs has been created as expected&amp;nbsp;in the lower environments&amp;nbsp;only when command line contains '_#Y.#m.#d_#H.#M.#s.log'&amp;nbsp;but not in the reported case.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the issue reported environment, log is created as expected without this '_#Y.#m.#d_#H.#M.#s.log' with the command line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let us know how this can be rectified in lower environments too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2020 10:20:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Rolling-log-option-is-getting-reverted-to-from-Y-m-d-H-M-s-log/m-p/634393#M18525</guid>
      <dc:creator>Rajkumar20</dc:creator>
      <dc:date>2020-03-24T10:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling log option is getting reverted to '_' from '_#Y.#m.#d_#H.#M.#s.log' every night.</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Rolling-log-option-is-getting-reverted-to-from-Y-m-d-H-M-s-log/m-p/634411#M18527</link>
      <description>&lt;P&gt;Thanks Rajkumar,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The addition of the date is performed by sourcing the DATA Step Batch Server's logconfig file (either logconfig.xml or logconfig.apm.xml depending on configuration) when the parameter "_" is used and the date is present. If you are saying that in other environments you must have the '_#Y.#m.#d_#H.#M.#s.log' line, then either a logconfig file is not being called in that environment at all or is not being used to append the date to the LOG option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, in the logconfig files you provided the FileNamePattern is set to:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;lt;param name="FileNamePattern" value="%S{App.Log}%d{yyyy.MM.dd_hh.mm.ss}.log"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The value %S{App.Log} translates to "whatever the -LOG option was set to" and %d{yyyy.MM.dd_hh.mm.ss} translates as the date and time in that supplied order, so if the -LOG option was set to /path/to/job_name_ the log file would be /path/to/job_name_2020.03.24_12.01.00.log.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://go.documentation.sas.com/?docsetId=logug&amp;amp;docsetTarget=p0zzs5v8e3la1fn1694o9bf5nn79.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_self"&gt;SAS® 9.4 Logging: Configuration and Programming Reference - S Conversion Character&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://go.documentation.sas.com/?docsetId=logug&amp;amp;docsetTarget=p0grhhzgucjd5fn14lh92862paam.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_self"&gt;SAS® 9.4 Logging: Configuration and Programming Reference - d Conversion Character&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2020 12:34:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Rolling-log-option-is-getting-reverted-to-from-Y-m-d-H-M-s-log/m-p/634411#M18527</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2020-03-24T12:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling log option is getting reverted to '_' from '_#Y.#m.#d_#H.#M.#s.log' every night.</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Rolling-log-option-is-getting-reverted-to-from-Y-m-d-H-M-s-log/m-p/725112#M21764</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/78975"&gt;@gwootton&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do have a similar problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When running a job, the name of the logfile looks like this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Test&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;_#Y.#m.#d_#H.#M.#s.log&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT color="#808000"&gt;2021.03.09_05.35.35.log&lt;/FONT&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Somehow, the variables cannot be resolved (&lt;CODE class=" language-sas"&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;_#Y.#m.#d_#H.#M.#s.log&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/CODE&gt;) , but then again is being resolved&amp;nbsp; (&lt;CODE class=" language-sas"&gt;&lt;FONT color="#808000"&gt;2021.03.09_05.35.35.log&lt;/FONT&gt;&lt;/CODE&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I check the Rolling Log Option of the Data Step Batch Server, I can see:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Rolling_Log_Option_property.JPG" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/55762i2AC306A42402E958/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Rolling_Log_Option_property.JPG" alt="Rolling_Log_Option_property.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Checking the sasv9_usermods.cfg I can see:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;-logconfigloc /the/usual/path/to/servercontext/BatchServer/logconfig.apm.xml&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;In the file "&lt;CODE class=" language-sas"&gt;logconfig.apm.xml&lt;/CODE&gt;" there is a block of appender code that:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;   &amp;lt;!-- Batch File Appender, match the output log file name to the input -log statement --&amp;gt;
   &amp;lt;appender class="FileAppender" name="BatchFileAppender"&amp;gt;
      &amp;lt;param name="Append" value="false"/&amp;gt;
      &amp;lt;param name="Unique" value="true"/&amp;gt;
      &amp;lt;param name="FileNamePattern" value="%S{App.Log}%d{yyyy.MM.dd_hh.mm.ss}.log"/&amp;gt;
      &amp;lt;layout&amp;gt;
         &amp;lt;param name="ConversionPattern" value="%m"/&amp;gt;
      &amp;lt;/layout&amp;gt;
   &amp;lt;/appender&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Is this the responsible part of the code, that leads to the fact, that logfiles of batch jobs are resolved to the green part of the example logfile name?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You suggested resetting the command, by doing the following&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;"Reset" the Rolling Log Option to "_"&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Redeploy the job in question&lt;/LI&gt;&lt;LI&gt;Check Command-Syntax of Job&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I have done all three steps:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ad 1.) Option is set to "_"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Rolling_Log_Option.JPG" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/55759i0E17FC065C900BAA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Rolling_Log_Option.JPG" alt="Rolling_Log_Option.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ad 2.) Job was successfully redeployed&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="successful_redployment.JPG" style="width: 366px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/55760i4C5F2A130C4EF545/image-size/medium?v=v2&amp;amp;px=400" role="button" title="successful_redployment.JPG" alt="successful_redployment.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ad 3.) still the command looks like this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/sas_install_p/config/Lev3/SASDI/BatchServer/sasbatch.sh -log /logs_p/Batch/Test_#Y.#m.#d_#H.#M.#s.log  -batch -noterminal -logparm "rollover=session"  -sysin /sas_p/lsf_jobs/Test.sas&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do I have to restart the Metadata-Server in order for the Rolling Log Option to take effect?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 14:01:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Rolling-log-option-is-getting-reverted-to-from-Y-m-d-H-M-s-log/m-p/725112#M21764</guid>
      <dc:creator>FK1</dc:creator>
      <dc:date>2021-03-10T14:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling log option is getting reverted to '_' from '_#Y.#m.#d_#H.#M.#s.log' every night.</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Rolling-log-option-is-getting-reverted-to-from-Y-m-d-H-M-s-log/m-p/725140#M21767</link>
      <description>No, you shouldn't have to restart the Metadata Server. Redeploying should change the command line. There was a hot fix pointed out in a previous thread that might apply here:&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/Administration-and-Deployment/How-to-change-the-default-log-file-location-for-scheduled-jobs/m-p/720424/highlight/true#M21575" target="_blank"&gt;https://communities.sas.com/t5/Administration-and-Deployment/How-to-change-the-default-log-file-location-for-scheduled-jobs/m-p/720424/highlight/true#M21575&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;There is also a reset button for the command line if it's been changed from the default that might need to be used.&lt;BR /&gt;&lt;BR /&gt;I would also mention that if you are using logconfig.apm.xml, the parameter "_" is usually checked and reset automatically by the Service Architecture Framework processes, so it's odd you had to change that manually unless you have since disabled the framework without reverting the log configuration from logconfig.apm.xml to logconfig.xml.</description>
      <pubDate>Wed, 10 Mar 2021 14:07:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Rolling-log-option-is-getting-reverted-to-from-Y-m-d-H-M-s-log/m-p/725140#M21767</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2021-03-10T14:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling log option is getting reverted to '_' from '_#Y.#m.#d_#H.#M.#s.log' every night.</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Rolling-log-option-is-getting-reverted-to-from-Y-m-d-H-M-s-log/m-p/726225#M21786</link>
      <description>Okay, this is really odd.&lt;BR /&gt;How can one "diable" the Service Architecture Framework processes?</description>
      <pubDate>Mon, 15 Mar 2021 09:27:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Rolling-log-option-is-getting-reverted-to-from-Y-m-d-H-M-s-log/m-p/726225#M21786</guid>
      <dc:creator>FK1</dc:creator>
      <dc:date>2021-03-15T09:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling log option is getting reverted to '_' from '_#Y.#m.#d_#H.#M.#s.log' every night.</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Rolling-log-option-is-getting-reverted-to-from-Y-m-d-H-M-s-log/m-p/726248#M21789</link>
      <description>This is the documentation on disabling those processes.&lt;BR /&gt;&lt;BR /&gt;Disabling the ACM and APM ETL Processes&lt;BR /&gt;&lt;A href="https://go.documentation.sas.com/?cdcId=evcdc&amp;amp;cdcVersion=2.5_M1&amp;amp;docsetId=evug&amp;amp;docsetTarget=n1pt9o4oqia6gtn12c18raatxkzg.htm&amp;amp;locale=en" target="_blank"&gt;https://go.documentation.sas.com/?cdcId=evcdc&amp;amp;cdcVersion=2.5_M1&amp;amp;docsetId=evug&amp;amp;docsetTarget=n1pt9o4oqia6gtn12c18raatxkzg.htm&amp;amp;locale=en&lt;/A&gt;</description>
      <pubDate>Mon, 15 Mar 2021 12:41:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Rolling-log-option-is-getting-reverted-to-from-Y-m-d-H-M-s-log/m-p/726248#M21789</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2021-03-15T12:41:35Z</dc:date>
    </item>
  </channel>
</rss>

