Hi Can,
You can use ryu-manager --log-config-file option.
http://docs.python.org/2/library/logging.config.html
Regards,
Satoshi
2014-02-28 22:27 GMT+09:00 Can Zhang <[email protected]>:
> Hello,
>
> I tried to customize logging format in ryu apps. Like:
>
> FORMAT = '%(name)s[%(levelname)s]%(message)s'
> logging.basicConfig(format=FORMAT)
> LOG = logging.getLogger(__name__)
>
> But in terminal I still got logs without `name` and `levelname`. I think
> ryu might have done some tricks with the logging system. Anyone could help?
>
>
>
> Best regards,
> Can Zhang
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Flow-based real-time traffic analytics software. Cisco certified tool.
> Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
> Customize your own dashboards, set traffic alerts and generate reports.
> Network behavioral analysis & security monitoring. All-in-one tool.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
> _______________________________________________
> Ryu-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>
--
Satoshi Kobayashi <[email protected]>
------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works.
Faster operations. Version large binaries. Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel