Here we change the operation logging configuration for our
application: we enable logging to a directory called "LogDirectory"
for operations that last at least 500 milliseconds. We also
instruct ImageGlue to clear log files when they get bigger than 20
KB. Because we do not save the configuration values we will not
alter the configuration values of other instances of ImageGlue.
[C#]
XSettings.Config.OperationLog.Logging = true;
XSettings.Config.OperationLog.Directory = Server.MapPath("LogDirectory");
XSettings.Config.OperationLog.MinTime = 500;
XSettings.Config.OperationLog.MaxFileSize = 20000;
[Visual Basic]
XSettings.Config.OperationLog.Logging = True
XSettings.Config.OperationLog.Directory = Server.MapPath("LogDirectory")
XSettings.Config.OperationLog.MinTime = 500
XSettings.Config.OperationLog.MaxFileSize = 20000
|