SharePoint logs are quite important in many scenarios when we don't find what's wrong in Event Viewer

I was working with SharePoint 2010 environment and saw this, in 14 hive Logs, all logs were of size 0KB

So to solve this,

I checked that Diagnostic Logging was enabled and correct path for logs was set

Then as next step you should check this

For logging, SharePoint uses tracing service named as SharePoint 2010 Tracing (run services.msc)

Check which account this service is using

In my case, I changed service account to local system and logging worked

I hope this helps some one J