RenderErrors need to advertise what method they are coming from
fcollman opened this issue · 2 comments
fcollman commented
for example this log is not helpful enough to figure out where the error was coming from
build 04-Feb-2018 11:21:41 ERROR:renderapi.tilespec:Expecting property name enclosed in double quotes: line 1 column 8715 (char 8714)
build 04-Feb-2018 11:21:41 ERROR:renderapi.tilespec:[{"tileId":"20170502194446656_295434_5LC_0064_01_001020_0_45_53.1020.0","layout":
RussTorres commented
This can be handled externally as your logger is initialized using format
see this stackoverflow answer for an example:
https://stackoverflow.com/a/20112491
import logging
logger = logging.getLogger('root')
FORMAT = "[%(filename)s:%(lineno)s - %(funcName)20s() ] %(message)s"
logging.basicConfig(format=FORMAT)
logger.setLevel(logging.DEBUG)
fcollman commented
gotcha...closing