psychoone7 / pyftpdlib

Automatically exported from code.google.com/p/pyftpdlib
Other
0 stars 0 forks source link

Use standard logging, please #271

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What is the best way to override logging in pyftpdblib? I see that I can 
monkey-patch functions 

  def logerror,
  def logline,
  def log

but this looks so ugly. Why not using standart logging with a custom logger 
name?
This is a quick patch, just for your consideration.

Original issue reported on code.google.com by anton.ch...@gmail.com on 6 Sep 2013 at 9:53

Attachments:

GoogleCodeExporter commented 9 years ago
What version are you using? I already introduced standard logging in 1.0.0.

Original comment by g.rodola on 6 Sep 2013 at 10:09

GoogleCodeExporter commented 9 years ago
Thank you, I was using an outdated one.

Original comment by anton.ch...@gmail.com on 6 Sep 2013 at 10:48

GoogleCodeExporter commented 9 years ago

Original comment by g.rodola on 6 Nov 2013 at 12:45