Hi,
I recommend reading the entire change log. There are quite a lot of things
which were added or changed.
> tornado.options.options['log_file_prefix'].set('/var/log/tornado/cloudftps/
> '+str(serverPort)+'.log') tornado.options.parse_command_line()
>
> for now it gives me an error ...
> […]
> tornado.options.options['log_file_prefix'].set('c:/'+str(serverPort)+'.log'
> ) TypeError: 'OptionParser' object has no attribute '__getitem__'
You must use options.log_file_prefix in attribute style to access the desired
configuration value, because it's no dict anymore. See the docs:
http://www.tornadoweb.org/en/stable/releases/v3.0.0.html#tornado-options
Ben, I think this particular issue should be mentioned in the changelog
section "Backwards-incompatible changes", too.
Regards,
Lyse