koodaamo / tnefparse

a TNEF decoding library written in python, without external dependencies
GNU Lesser General Public License v3.0
49 stars 37 forks source link

WARNING Unknown TNEF Object #5

Closed guettli closed 6 years ago

guettli commented 10 years ago

thank you for this library.

All works well.

But we get these warning messages.

Are this really warnings? What can we do to suppress these warnings?

Maybe it is not important and no logging in tnefparse would be the best solution.

2014-04-18 11:55:22 tnef-decode: WARNING  Unknown TNEF Object: <TNEFObject 'TNEF Version'>
2014-04-18 11:55:22 tnef-decode: WARNING  Unknown TNEF Object: <TNEFObject 'OEM Codepage'>
2014-04-18 11:55:22 tnef-decode: WARNING  Unknown TNEF Object: <TNEFObject 'Message ID'>
2014-04-18 11:55:22 tnef-decode: WARNING  Unknown TNEF Object: <TNEFObject 'Priority'>
2014-04-18 11:55:22 tnef-decode: WARNING  Unknown TNEF Object: <TNEFObject 'Date Sent'>
2014-04-18 11:55:22 tnef-decode: WARNING  Unknown TNEF Object: <TNEFObject 'Date Modified'>
2014-04-18 11:55:22 tnef-decode: WARNING  Unknown TNEF Object: <TNEFObject 'Message Class'>
2014-04-18 11:55:22 tnef-decode: WARNING  Unknown TNEF Object: <TNEFObject 'Subject'>
petri commented 6 years ago

Thanks for bringing this up. Logging in tnefparse is something that should be improved. I've added a new issue #18 for this. I'd be grateful for your input there.