3

I am using eclipse and java sdk of app-engine. I found the link for same question

here

and on stackoverflow

here.

But both are for python.

Is there a way to do it in eclipse?

Community
  • 1
  • 1
Manjoor
  • 3,951
  • 10
  • 41
  • 66

2 Answers2

3

Well java.lang.System is whitelisted, so won't java.lang.System.out.println(...) work?

Stephen C
  • 669,072
  • 92
  • 771
  • 1,162
  • +1: Yes, according to the docs writing to stdout will be captured and logged at the INFO level. Likewise, writing to stderr will be logged at the WARN level. – David Underhill Jun 26 '10 at 14:19
  • Is there somewhere in particular it needs to go? It wasn't working in the doPost() function I had. – user124384 Mar 21 '16 at 01:32
2

Try using the java.util.logging.Logger class. See the docs for examples and more information.

David Underhill
  • 15,635
  • 7
  • 51
  • 61