About specifying the log file location
ArcGIS Server records system messages in log files. When you suspect something isn't working right, you can examine the log files to see exactly what is happening with your GIS server.
You can specify where the server writes its log files or simply accept the default location in the ArcGIS Server installation directory, which is <ArcGIS Server installation directory>\Server\user\log for Windows and <ArcGIS Server Installation directory>/server/user/log for Linux/Solaris. This path is used to store the logs on each SOM and SOC machine.
You can alternatively write all logs to a shared directory, referenced using a UNC path or NFS path (for example, \\myServer\log or /net/myserver/opt/log on Linux/Solaris). You'll need to make sure the SOM and SOC accounts have Read and Write permissions to the log directory.