Partilhar via


Development Storage Logging

The development storage has an extensive logging infrastructure that allows you to monitor all sorts of interesting events including all the SQL commands sent to your SQL instance. These logs are also useful when debugging storage access or determining why things aren’t behaving the way you think they should.

To enable logging, fire up your favorite XML editor and crack open %LocalAppData%\DevelopmentStorage\DevelompentStorage.config. Change the value of LoggingEnabled to true, save the file and restart your development storage. Logs should start appearing in %LocalAppData%\DevelopmentStorage\Logs! But don’t forget to turn it back off once you’re done with the logging feature – the logs produced are rather verbose and have a tendency to consume all your free disk space if left unchecked!