From Specify server log settings "The default directory where the server writes its logs is c:\arcgisserver\logs. The log path must be set to a local directory..." but I have a need to have the log files on a network share (many multi-machine sites). Anyone got some voo-doo magic they can share that can mirror the GIS Server logs?
As the ArcGIS Server install contains python - you could use python on a scheduled task to copy the log files to your network share as often as you'd like.
You would need:
import shutil src=r'c:\arcgisserver\logs\mymachine'dst = r'\\myshare\allmylogs\machine3' shutil.copyfile(src, dst) or shutil.copy(src, dst)
Hope this helps!
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.