Propose bug pattern: writing into stdout/err

View: New views
1 Messages — Rating Filter:   Alert me  

Propose bug pattern: writing into stdout/err

by Andreas Probst :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

in server-side Java it is discouraged to write into stdout. Instead
a log framework should be used.

How do you like the idea of finding all occurrences of

System.out.println and
ex.printStackTrace

At least on the server-side these are highly undesirable calls and
should in almost all cases be eliminated.

Kind regards,

Andreas


_______________________________________________
Findbugs-discuss mailing list
Findbugs-discuss@...
https://mailman.cs.umd.edu/mailman/listinfo/findbugs-discuss
LightInTheBox - Buy quality products at wholesale price