Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] How do I capture SYSLOG to my local disk?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] How do I capture SYSLOG to my local disk?
 Login/Join
 
Platinum Member
posted
Hi all
I have the following code.. it does not write the file....
following is the code..
APP FILEDEF LOGFILE DISK C:\Users\UID\Documents\WFTEMP\LOGFILE.TXT
-SET &ECHO=ALL;
-TYPE "THIS IS A TEST LOG"
-...
-...
FILEDEF LOGFILE CLEAR

Do not have access to wf server, temp disk etc.. But I do have access to write to local disk..

This message has been edited. Last edited by: <Kathryn Henning>,


Prod/Dev/Test: WF 8.1.5 on (Windows Server 2012 R2 )
SandBox: WebFocus Server 8.1.5 on Windows Server 2008 R2
WebFOCUS App Studio 8.1.5 and Developer Studio 8.1.5 on Windows 7
 
Posts: 134 | Location: USA | Registered: August 21, 2008Report This Post
Virtuoso
posted Hide Post
But webfocus does mot have access to your local disk.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Platinum Member
posted Hide Post
quote:

APP FILEDEF LOGFILE DISK C:\Users\UID\Documents\WFTEMP\LOGFILE.TXT

If your request is running on the WebFOCUS server, then your FILEDEF will be trying to write the file to the C: drive of the _server_.


WebFOCUS 8.2.06 mostly Windows Server
 
Posts: 195 | Location: Johannesburg, South Africa | Registered: September 13, 2008Report This Post
Platinum Member
posted Hide Post
Thank you Frank and Twanette..
Yes I was able to write to a file after HOLDing the records to the FILEDEF name.. But what I am trying to do is to capture the messages from WF to a file for trouble shooting.. Yes I can do the View... but sometimes it gets very long and for complex reporting, would help if there a log file of all messages... in the old days used SYSPRINT to capture the messaages.. but SYSPRINT not available in WF?
following is a test code
SET EMGSRV=FILE
APP FILEDEF SYSPRINT DISK C:\ibi\DevStudio76\srv76\wfs\user\nslog.txt
-RUN
? FILEDEF
? PATH
-SET &ECHO=ALL;
TABLE FILE CAR
PRINT
'CAR.ORIGIN.COUNTRY'
'CAR.COMP.CAR'
'CAR.CARREC.MODEL'
'CAR.BODY.BODYTYPE'
IF RECORDLIMIT IS 10
ON TABLE NOTOTAL
END
TYPE "TEST LOG"
-RUN
-CLOSE SYSPRINT
-RUN
FILEDEF SYSPRINT TERM
-RUN
-EXIT


Prod/Dev/Test: WF 8.1.5 on (Windows Server 2012 R2 )
SandBox: WebFocus Server 8.1.5 on Windows Server 2008 R2
WebFOCUS App Studio 8.1.5 and Developer Studio 8.1.5 on Windows 7
 
Posts: 134 | Location: USA | Registered: August 21, 2008Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] How do I capture SYSLOG to my local disk?

Copyright © 1996-2020 Information Builders