SAS Data Integration Studio, DataFlux Data Management Studio, SAS/ACCESS, SAS Data Loader for Hadoop and others

How to get log file on mail from server.

Reply
Contributor
Posts: 32

How to get log file on mail from server.

Hi,

 

I want log files on mail of scheduled job which is on server.

is this possible or not if yes then how ?

job developed in sas data integration studio.

Super User
Posts: 5,426

Re: How to get log file on mail from server.

Posted in reply to Shantaram

Not out of the box, but a simple job/program/scripts would probably do the job.

What scheduler do you use?

If cron/WTS - do you define the flows in SMC?

Data never sleeps
Super User
Posts: 5,426

Re: How to get log file on mail from server.

Posted in reply to Shantaram

Moving thread to a more suitabel forum for DI Studio questions.

Data never sleeps
Contributor
Posts: 32

Re: How to get log file on mail from server.

Hi Linush,

I am using SMC for scheduling.

its possible to get the log file  of scheduled job.

 

Super User
Posts: 5,426

Re: How to get log file on mail from server.

Posted in reply to Shantaram
I'm sure that there are several ways to do it.
The easiest would be to create a shell script that scans the Log directory under BatchServer and emails any new files.
Question is why you want do this. Usually reading log files is an adhoc activity initiated by errors or other signals.
Data never sleeps
Contributor
Posts: 32

Re: How to get log file on mail from server.

Hi,

 

My team wants to track the error details and want to know which process take more time to execute.

 

Super User
Posts: 5,426

Re: How to get log file on mail from server.

Posted in reply to Shantaram
Continues monitoring can done via Environment Manager, much better than browsing individual logs.
On a job/flow level, the flow log under the SchedulingManager directory is more user friendly.
As stated earlier, checking logs for errors is a signal initiated activity. When receiving a such, one could easily check the og on the server. Mailing all logs makes little sense, especially in large deployments.
Data never sleeps
Ask a Question
Discussion stats
  • 6 replies
  • 380 views
  • 0 likes
  • 2 in conversation