We have an application based on SharePoint 2016.It is generating the log file in 16 hive but SharePoint generated correlation id we are unable to find in log file. We perform following things:
I noticed in WSS_Logging database that ULSTraceLog Table was not getting created.
I checked Monitoring > Review Job definitions in SharePoint central admin and found that Diagnostic Data Provider : Trace Log was disabled.
I enabled this job and set the interval of 1 minute.
I found the ULSTraceLog table in WSS_Logging database not but still no item in that table.
I went to Monitoring > Diagnostic Logging in central admin and found that path set for Trace log is D:\Program files\Common Files..\16\Logs.
I checked in the above Trace log path for the SharePoint generated correlation ID but unable to find.
I have sysadmin access on the database server.
Please help to resolve this issue.