-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Yes, another dumb question.
I am totally unable to make logging work on deployed apps. I've followed
the instructions rigorously, but nothing ever shows up in the 'Logging'
section of the Administration console.
I'm using the following helper class:
public class Log
{
private static final Logger _log =
Logger.getLogger(RPCServiceImpl.class.getName());
public static void log(String s, Object... o)
{
long now = new Date().getTime() % 1000000L;
s = now + ": " + String.format(s, o);
_log.info(s);
System.out.println(s);
}
}
...and then calling it with 'Log.log("Hello, world!")' or equivalent.
Note that I'm both calling Logger.info() *and* writing to stdout ---
nothing ever shows up.
I have the standard logging.properties, my appengine-web.xml file is
pointing at it, and as far as I know everything's set up correctly. I
just never see anything. What am I missing here?
- --
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│
│ "People who think they know everything really annoy those of us who
│ know we don't." --- Bjarne Stroustrup
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iD8DBQFKkIYpf9E0noFvlzgRAnnyAJ9u2piGART2oHxBoQGHGTUCqhPhkACgudQW
UbJAib2z2GU5/igd4cnuY3A=
=xksW
-----END PGP SIGNATURE-----
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en
-~----------~----~----~----~------~----~------~--~---