I had implemented the Windows Azure Auto Scale Application Block in console application which monitor the performance counters and add the instances to the web role. I implemented the logging also but it does not show me the logs in the console and it does not adding the new instances to the web role based on rules.
And it is not giving me any error...
Without knowing how the application is configured (in particular the content of
app.config
and of the schedule file), the best educated guess I can make is that yourapp.config
is missing the configuration in<system.diagnostics>
to enable the logging of messages from the block.In short, in your
app.config
you should have a section similar to the following (taken from one of my sample applications):You can find further information from MSDN.
In addition to his, I recall that I had to set some breakpoints (on
Autoscaler.Start
if I remind correctly) in order to catch some configuration errors.