See [Log#init](https://github.com/rightscale/right_agent/blob/master/lib/right_agent/log.rb#L426) in right_agent. If no log directory path is specified it will log log to stdout on window(see lines from 422 to 437). Also it sets log level to :info on line 451 which leads to printing of "[setup] Setting log level to INFO" line in [Log#level=](https://github.com/rightscale/right_agent/blob/master/lib/right_agent/log.rb#L355).

Log#init is called implicit in Log methods like #debug, #info etc. So we can probably add `unless @read_only` to every logging attempt in InstanceState or implement requesting of InstanceState#decommission_type via command protocol(we already can request InstanceState#value) and don't use InstanceState directly at all. This workaround is just quicker to implement :)