Title:
Scheduled Task Misfire Events are not Logged when scheduler.log Doesn't Yet Exist
| View in TrackerStatus/Resolution/Reason: Closed/Withdrawn/NotABug
Reporter/Name(from Bugbase): Rob Bilson / Rob Bilson (Rob Bilson)
Created: 03/16/2012
Components: Logging
Versions: 10.0
Failure Type:
Found In Build/Fixed In Build: Public Beta /
Priority/Frequency: Major / Most users will encounter
Locale/System: English / Platforms All
Vote Count: 0
Problem Description:
If scheduler.log doesn't exist, ColdFusion won't write scheduled task misfire events to the log file until some other event such as task pause/resume creates the file.
Steps to Reproduce:
1. Delete any existing scheduler.log gile
2. Make sure you have Log Scheduled Tasks enabled
3. Create a new scheduled task and set it to execute a few minutes in the future. Set the timeout for the call to 5 seconds. Have the task call a .cfm with this code:
<cfset sleep(15000)>
Hello World!
4. Give the task time to execute.
5. Check the http.log - you should see the http call for the scheduled task
6. Look for scheduler.log - it shouldn't be there.
7. Pause your scheduled task
8. Resume your scheduled task
9. Now look, scheduler.log should be there.
10. There's another problem now, but I'll enter a separate ticket for that.
Actual Result:
Expected Result:
Any Workarounds:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3140184
External Customer Info:
External Company:
External Customer Name: Rob Brooks-Bilson
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: