- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: TCPIP Service Log File Config
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2009 09:18 AM
тАО06-03-2009 09:18 AM
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.
The problem is that I can't find any documentation on the format of the cmd to populate this field, so...
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?
TIA
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2009 10:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2009 10:14 AM
тАО06-03-2009 10:14 AM
Re: TCPIP Service Log File Config
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2009 02:52 PM
тАО06-03-2009 02:52 PM
Re: TCPIP Service Log File Config
Thanks for that info.
Any idea how to format the command to delete
a Log File defintion?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2009 03:30 PM
тАО06-03-2009 03:30 PM
Re: TCPIP Service Log File Config
no , afraid not, i would set noservice ,then recreate it without specifying a log file name.
fwiw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2009 05:19 PM
тАО06-03-2009 05:19 PM
Re: TCPIP Service Log File Config
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2009 07:02 PM
тАО06-03-2009 07:02 PM
Re: TCPIP Service Log File Config
TCPIP> SET SERVICE 'service' /NOLOG
HTH,
Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2009 07:46 AM
тАО06-04-2009 07:46 AM
Re: TCPIP Service Log File Config
The "/NOLOG" option doesn't remove the log file name.
I've just spent some time (again) trying various combinations of quotes, but that doesn't work.
I think I'm down to Mark's suggestion of having to delete & recreate the Service definition.
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2009 08:09 AM
тАО06-04-2009 08:09 AM
Re: TCPIP Service Log File Config
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 !
fwiw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2009 07:06 PM
тАО06-04-2009 07:06 PM
Re: TCPIP Service Log File Config
When you need to log something you can simply redfine the logfile, e.g. DEFINE/SYSTEM MY_LOGFILE MY_LOG.LOG
Regards,
Jeremy Begg