<?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: TCPIP Service Log File Config in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/tcpip-service-log-file-config/m-p/5179169#M45212</link>
    <description>Tried setting the log file to the NLA0: null device?</description>
    <pubDate>Thu, 04 Jun 2009 00:19:12 GMT</pubDate>
    <dc:creator>Hoff</dc:creator>
    <dc:date>2009-06-04T00:19:12Z</dc:date>
    <item>
      <title>TCPIP Service Log File Config</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tcpip-service-log-file-config/m-p/5179164#M45207</link>
      <description>I have created a simple TCPIP service with a DCL script.  I have defined the service within TCPIP using the SET SERVICE cmds and the service definition successfully starts my script &amp;amp; my script responds correctly.  So far so good.&lt;BR /&gt;&lt;BR /&gt;Within the SERVICE definitions parameters there is a field to define a Log File.  I want to use this feature to capture any output (especially errors) from my script.&lt;BR /&gt;&lt;BR /&gt;The problem is that I can't find any documentation on the format of the cmd to populate this field, so...&lt;BR /&gt;&lt;BR /&gt;How can I enter a file name into the Log File field of the Service definition?  How can I remove any entry from this field?&lt;BR /&gt;&lt;BR /&gt;TIA</description>
      <pubDate>Wed, 03 Jun 2009 16:18:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tcpip-service-log-file-config/m-p/5179164#M45207</guid>
      <dc:creator>Jack Trachtman</dc:creator>
      <dc:date>2009-06-03T16:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: TCPIP Service Log File Config</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tcpip-service-log-file-config/m-p/5179165#M45208</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt; try &lt;BR /&gt;&lt;BR /&gt;$ disab serv 'service_name'&lt;BR /&gt;&lt;BR /&gt;$ set serv 'service_name'/log=(file:'full_pathname_of_log_file, Ã½our_service_options')&lt;BR /&gt;&lt;BR /&gt;$ enab serv 'service_name'&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Jun 2009 17:03:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tcpip-service-log-file-config/m-p/5179165#M45208</guid>
      <dc:creator>marsh_1</dc:creator>
      <dc:date>2009-06-03T17:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: TCPIP Service Log File Config</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tcpip-service-log-file-config/m-p/5179166#M45209</link>
      <description>ooops - have to be in tcpip first , apologies.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Jun 2009 17:14:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tcpip-service-log-file-config/m-p/5179166#M45209</guid>
      <dc:creator>marsh_1</dc:creator>
      <dc:date>2009-06-03T17:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: TCPIP Service Log File Config</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tcpip-service-log-file-config/m-p/5179167#M45210</link>
      <description>Mark,&lt;BR /&gt;&lt;BR /&gt;Thanks for that info.&lt;BR /&gt;&lt;BR /&gt;Any idea how to format the command to delete&lt;BR /&gt;a Log File defintion?</description>
      <pubDate>Wed, 03 Jun 2009 21:52:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tcpip-service-log-file-config/m-p/5179167#M45210</guid>
      <dc:creator>Jack Trachtman</dc:creator>
      <dc:date>2009-06-03T21:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: TCPIP Service Log File Config</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tcpip-service-log-file-config/m-p/5179168#M45211</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt; no , afraid not, i would set noservice ,then recreate it without specifying a log file name.&lt;BR /&gt;&lt;BR /&gt;fwiw&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Jun 2009 22:30:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tcpip-service-log-file-config/m-p/5179168#M45211</guid>
      <dc:creator>marsh_1</dc:creator>
      <dc:date>2009-06-03T22:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: TCPIP Service Log File Config</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tcpip-service-log-file-config/m-p/5179169#M45212</link>
      <description>Tried setting the log file to the NLA0: null device?</description>
      <pubDate>Thu, 04 Jun 2009 00:19:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tcpip-service-log-file-config/m-p/5179169#M45212</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2009-06-04T00:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: TCPIP Service Log File Config</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tcpip-service-log-file-config/m-p/5179170#M45213</link>
      <description>The FILE keyword in /LOG_OPTIONS isn't negatable, but the /LOG_OPTIONS qualifier is:&lt;BR /&gt;&lt;BR /&gt;TCPIP&amp;gt; SET SERVICE 'service' /NOLOG&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Martin</description>
      <pubDate>Thu, 04 Jun 2009 02:02:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tcpip-service-log-file-config/m-p/5179170#M45213</guid>
      <dc:creator>Martin Vorlaender</dc:creator>
      <dc:date>2009-06-04T02:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: TCPIP Service Log File Config</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tcpip-service-log-file-config/m-p/5179171#M45214</link>
      <description>Some background: now that I've got my script working, I'd rather not have a log file created on every service invocation, so I'm trying to "disable" logging by removing the log file name.&lt;BR /&gt;&lt;BR /&gt;The "/NOLOG" option doesn't remove the log file name.&lt;BR /&gt;&lt;BR /&gt;I've just spent some time (again) trying various combinations of quotes, but that doesn't work.&lt;BR /&gt;&lt;BR /&gt;I think I'm down to Mark's suggestion of having to delete &amp;amp; recreate the Service definition.&lt;BR /&gt;&lt;BR /&gt;BTW: a newly created Service def w/no Log file defined shows the Log file as "not defined".  This may be a clue as to how to format the cmd to remove the Log filename entry, but I haven't been able to figure it out.</description>
      <pubDate>Thu, 04 Jun 2009 14:46:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tcpip-service-log-file-config/m-p/5179171#M45214</guid>
      <dc:creator>Jack Trachtman</dc:creator>
      <dc:date>2009-06-04T14:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: TCPIP Service Log File Config</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tcpip-service-log-file-config/m-p/5179172#M45215</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt; you can actually specify the log file as anything in quotes , including - not defined - have just tried that with ssh and seemed to work ok, ssh still functioning after a shutdown/restart of the service !&lt;BR /&gt;&lt;BR /&gt;fwiw&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Jun 2009 15:09:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tcpip-service-log-file-config/m-p/5179172#M45215</guid>
      <dc:creator>marsh_1</dc:creator>
      <dc:date>2009-06-04T15:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: TCPIP Service Log File Config</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tcpip-service-log-file-config/m-p/5179173#M45216</link>
      <description>Another way of setting up your logging is to specify a logical name for the logfile. For example, FILE=MYLOGFILE: Then if you don't want any logging, DEFINE/SYSTEM MY_LOGFILE NL:&lt;BR /&gt;&lt;BR /&gt;When you need to log something you can simply redfine the logfile, e.g. DEFINE/SYSTEM MY_LOGFILE MY_LOG.LOG&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jeremy Begg</description>
      <pubDate>Fri, 05 Jun 2009 02:06:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tcpip-service-log-file-config/m-p/5179173#M45216</guid>
      <dc:creator>Jeremy Begg</dc:creator>
      <dc:date>2009-06-05T02:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: TCPIP Service Log File Config</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tcpip-service-log-file-config/m-p/5179174#M45217</link>
      <description>I FINALLY got someone at HP who could answer my questions (thanks Jay So!).  For future ref:&lt;BR /&gt;&lt;BR /&gt;1) The Log File field is for display only!  The service mngr always creates a log file with name of:&lt;BR /&gt;&lt;BR /&gt;       UsernameDefDir:ProcName.LOG&lt;BR /&gt;&lt;BR /&gt;2) The filename can be overridden by creating a logicalname which matches the ProcName proper (no dir, no extension).  To disable logging, def a logical pointing to the NL: device.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks all who responded.</description>
      <pubDate>Mon, 08 Jun 2009 14:47:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tcpip-service-log-file-config/m-p/5179174#M45217</guid>
      <dc:creator>Jack Trachtman</dc:creator>
      <dc:date>2009-06-08T14:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: TCPIP Service Log File Config</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/tcpip-service-log-file-config/m-p/5179175#M45218</link>
      <description>Wow, i finally got rid of my SAMBA$SMBD_STARTUP.LOG files thanks to your final post on this subject. Sure would be nice if HP documented it. Thanks.</description>
      <pubDate>Wed, 08 Jun 2011 12:44:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/tcpip-service-log-file-config/m-p/5179175#M45218</guid>
      <dc:creator>Tim Oakley</dc:creator>
      <dc:date>2011-06-08T12:44:37Z</dc:date>
    </item>
  </channel>
</rss>

