For example, if an user gets an error in Order Entry or AP Invoice Entry, I would have thought that it would be in Event Viewer of the server but I see nothing. Is there a .txt file somewhere on the server where I could see everything that happened ?
I find it difficult to monitor something with windows because it seems like it only keeps the most recent logs from 2 hours ago so if it’s too late until you see it, it’s gone
It’s exactly where I look for but for example, I triggered an error on SalesOrder.Update (Pre Processing) and I see nothing in there either from the Classic Client or from the Web Kinetic app.
That’s good to know that I can change the max log size, will look at it for our production server
If you turn on server logs in the app server there will be log files you can use a log reader or np++ to search thru because they can be large. Depending on what flags you set you can get all kinds of info. I generate 800MB of logs a day.
I have license counts, bpm messages, all bpms called and all exceptions. In my test instances I dump the actual sql query that is getting run on the server. But in later versions there are some overflow issues with dumping too much into the logs, so I had to get more selective.
As @gpayne you also have the application server logs, in some instances the information in the server log will be reflected in the event viewer logs.
In earlier days if you wanted detailed server logs you used to have to update the appserver.config in the server folder of the specific application server. The logging ability was not that granular.
Now days with later versions the EAC extensions allow flexibility to change that without having to go to the file and change it.
You use the Application Server Settings from the context menu of the app server you are
Here are some screen shots for posterity. As mentioned the Application Server settings screen has changed between versions, don’t have an earlier screen shot than 2023.2.
Example of server logs being stored in the server folder.
Finally if you are wanting to know more about the server logs specifically then the Kinetic Architecture Guide gives you the details.
If you are wanting to know more about serilog and Application Insights then that information can be found in help files within the Epicor Administration Console.
Another aspect of logging that is not often talked about and by default set at a very minimum level is the System Task agent. There is documentation in the help about that also.
I hope you rind the information useful.
From a development perspective (and there are lots of posts here about it) you can write out to the event logs from functions and BPMs. With code or with a widget (depending on version). Very handy when you combine with debugging.