Tag Info

New answers tagged

2

Because there is no resources file specified in the call to the some resource key in your web part, SharePoint will look in the default places where you can place your resources files in the following order (given that your language is US-English). You must check all resources strings in your web part also ULS should have some string like "Localized ...


0

Call the below method ,this will ensure you are have correct/appropriate permissions while users with read permissions write to log file. SPSecurity RunWithElevatedPriviledges{ LogData(); } public static void LogData(string categoryName, Level type, string section, string message, string exception) { try { /*Log SharePoint*/ ...


0

Users with read only access won't be able to write to ULS. Write the code inside RunWithElevatedPreviliges delegate


2

You can store them in a custom list.


2

You can order up your approaches as below, ULS Event Viewer Text file. I suggest, ULS - Its the SharePoint native logging and it manages to remove the older files periodically, its better to keep all the SharePoint related logs in one place "ULS". Use SPDiagnosticsService.Local.WriteTrace method in your timer job to log into the ULS logs If you find ...



Top 50 recent answers are included