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
  • 4,091
  • 10
  • 43
  • 67

2 Answers2

3

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

Stephen C
  • 698,415
  • 94
  • 811
  • 1,216
  • +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,896
  • 7
  • 53
  • 61