Home โ€บ DevOps โ€บ Where Are AutoSys Job Logs? std_out_file, std_err_file and autosyslog
Beginner 3 min · December 6, 2026

Where Are AutoSys Job Logs? std_out_file, std_err_file and autosyslog

An AutoSys job failed and there's no log? Without std_out_file and std_err_file the output is discarded.

N
Naren Founder & Principal Engineer

20+ years shipping production infrastructure and CI/CD at scale. Drawn from code that ran under real load.

Follow
✓ Production
production tested
December 06, 2026
last updated
2,151
articles · all by Naren
Before you start⏱ 6 min
  • ✓AutoSys JIL basics
 ● Production Incident 🔎 Debug Guide
⚡Quick Answer
  • No std_out_file / std_err_file = output discarded.
  • Set both in the job's JIL; the files are created on the agent machine.
  • Use $AUTO_JOB_NAME and $AUTORUN in the path for one file per run.
  • Prefix the path with >> to append instead of overwrite.
  • Job never started? Check the scheduler side with autosyslog -e, and the agent's own log on that machine.
โœฆ Definition~90s read
What is Where Are AutoSys Job Logs??

AutoSys doesn't keep a job's output by default. std_out_file and std_err_file are JIL attributes that tell the agent where to write the job's standard output and standard error, on the agent machine.

โ˜…
The script talks while it runs.
Plain-English First

The script talks while it runs. Unless you give AutoSys two notebooks to write in, nobody writes anything down.

EXTRACT_CUST failed at 03:10. The on-call engineer looked for the error and found no log file at all.

Set both log files

Add the attributes to the job definition. Paths are on the agent machine and the directory must exist and be writable by the job owner.

logs.jilJIL
1
2
3
update_job: EXTRACT_CUST
std_out_file: "/logs/$AUTO_JOB_NAME.$AUTORUN.out"
std_err_file: "/logs/$AUTO_JOB_NAME.$AUTORUN.err"
๐ŸŽฏ Key Takeaway
Not set means discarded.

Append instead of overwrite

Start the value with >> to keep adding to one file.

append.jilJIL
1
2
update_job: EXTRACT_CUST
std_err_file: ">>/logs/EXTRACT_CUST.err"
๐ŸŽฏ Key Takeaway
One file per run is easier to read.

When the job never ran

If the job didn't start, its own files are empty. Look at the scheduler side.

logs.shBASH
1
2
3
autosyslog -e          # scheduler event log
autosyslog -J EXTRACT_CUST   # job log from the agent
autorep -J EXTRACT_CUST -q | grep -E 'std_|machine'
๐ŸŽฏ Key Takeaway
Never started = scheduler and agent logs.
● Production incidentPOST-MORTEMseverity: high

A Failure With No Log

Symptom
EXTRACT_CUST FAILURE, exit 1; no .out or .err file anywhere.
Assumption
AutoSys keeps job output somewhere by default.
Root cause
std_out_file and std_err_file were never set, so both streams were discarded.
Fix
Added std_out_file and std_err_file with $AUTO_JOB_NAME.$AUTORUN in the name to every job in the box.
Key lesson
  • Set both log attributes on every job.
  • One file per run.
  • Logs live on the agent machine.
Production debug guideWork through these in order4 entries
Symptom · 01
Job failed, no log file
→
Fix
autorep -J JOB -q | grep std_; if empty, set std_out_file and std_err_file.
Symptom · 02
Log exists but only shows the last run
→
Fix
Add $AUTORUN to the file name, or use >> to append.
Symptom · 03
Can't find the file
→
Fix
Look on the agent machine named in the job's machine attribute, not the scheduler server.
Symptom · 04
Job never reached RUNNING
→
Fix
Check autosyslog -e for the scheduler's events, then the agent's log directory.
⚙ Quick Reference
3 commands from this guide
FileCommand / CodePurpose
logs.jilupdate_job: EXTRACT_CUSTSet both log files
append.jilupdate_job: EXTRACT_CUSTAppend instead of overwrite
logs.shautosyslog -e # scheduler event logWhen the job never ran

Key takeaways

1
Set std_out_file and std_err_file.
2
Logs are on the agent machine.
3
autosyslog for jobs that never started.

Common mistakes to avoid

3 patterns
×

No std_err_file

Symptom
Failures with nothing to read.
Fix
Set it on every job.
×

Same file name every run

Symptom
Yesterday's error is overwritten.
Fix
Add $AUTORUN or use >>.
×

Looking on the scheduler server

Symptom
File not found.
Fix
Logs are on the agent machine.
INTERVIEW PREP · PRACTICE MODE

Interview Questions on This Topic

Q01JUNIOR
Where does AutoSys write job output by default?
Q02SENIOR
How do you give each run its own log file?
Q01 of 02JUNIOR

Where does AutoSys write job output by default?

ANSWER
Nowhere useful: without std_out_file and std_err_file the output is discarded.
FAQ · 2 QUESTIONS

Frequently Asked Questions

01
Can I send stdout and stderr to the same file?
02
What does >> do in std_out_file?
RESOURCES

Keep going

AutoSys Full Course for Beginners▶
WatchAutoSys Full Course for BeginnersJIL, job statuses, monitoring and failed jobs, start to finish.Watch on YouTube →
ReadThe complete DevOps guideOne deep guide that walks the whole DevOps track in order.Start reading →
Q
PracticeDevOps Interview QuestionsReal interview questions with answers, by topic.Practice now →
COMPLETE GUIDE
The Complete AutoSys Workload Automation Guide for Engineers →

JIL syntax, sendevent, autorep, box jobs, file watchers, scheduling, HA, security, cloud workload automation, and 22 interview questions โ€” the definitive AutoSys reference for production engineers.

N
Naren Founder & Principal Engineer

20+ years shipping production infrastructure and CI/CD at scale. Drawn from code that ran under real load.

Follow
✓ Verified
production tested
December 06, 2026
last updated
2,151
articles · all by Naren
🔥

That's AutoSys. Mark it forged?

3 min read · try the examples if you haven't

←
Previous
Windows Error 0x80070005: Access Is Denied When Installing
54 / 58 · AutoSys
Next
AutoSys Job Stuck in ACTIVATED
→