I am hoping that this is possible.
I am running cache processes (currently through Model Builder) that sometimes last past the time I leave for the day. At the same time, overnight (late) I have routines that run updates and close out my connections to GIS (if it is still open).
Occasionally my cache processes will have errors, i.e. the "Failed to Manage tiles.." errors. These show up on the GP window but for some reason do not write out to the GP log file.
If you run the model as a model tool (ie. double click the model and click OK) and you have gp logging clicked on in the application options, everything should write to the the gp log file. An approach that may be more appropriate for a job you often repeat is to run your model using a simple python script, such as:# e:\work\runmodel.py
import arcpy
arcpy.CheckOutExtension("Spatial") # extension, if needed
arcpy.ImportToolbox(r"e:\work\mytoolbox.tbx")
arcpy.MyModel_mytools() # "mytools" is your toolbox's alias
arcpy.AddMessage("Processing completed.")
Start your python script before you go home like this:1. Open a command window: Windows -> Run... -> cmd.exe2. In the command window, run your python script: cd /d e:\work
runmodel.py > runmodel.log 2<&1
The ">" sends script output to the log file, and the fancy foot work "2<&1" redirects any system errors to go into the log file instead of to the command window. (Good old DOS!) You could also put the above DOS commands in a .bat file.