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!
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.