[Opengeoscience-developers] server side debugging statements?

Ben Burnett benjam.arlyn at gmail.com
Tue May 14 09:08:54 EDT 2013


Make sure CMake vars SERVER_LOGS and SERVER_DEBUG are on. Then
logging.debug() should work. You can also try logging.log() or
logging.error(), or just call cherrypy.log() directly.


On Tue, May 14, 2013 at 8:49 AM, David E DeMarle
<dave.demarle at kitware.com>wrote:

> How do I get server side printfs to show up somewhere?
>
> print("msg") statements get swallowed up somewhere and don't end up in
> access.log or error.log
>
> I've changed log.screen and log.debug in server.conf.in to no apparent
> effect.
>
> I've also tried import logging; logging.debug("msg") but still don't see
> that.
>
> Thanks,
>
> David E DeMarle
> Kitware, Inc.
> R&D Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909
>
> _______________________________________________
> Opengeoscience-developers mailing list
> Opengeoscience-developers at public.kitware.com
>
> http://public.kitware.com/cgi-bin/mailman/listinfo/opengeoscience-developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/opengeoscience-developers/attachments/20130514/f1455a96/attachment.html>


More information about the Opengeoscience-developers mailing list