Default location for processes¶
The default location of PyWPS processes is located in the
pywps/processes directory, in the installation location of PyWPS.
PYWPS_PROCESSES environment variable¶
Usually, you will overwrite this with the
variable in the Configuration.
Configuration via configuration file¶
Alternatively you can set the processesPath variable in the configuration file.
PyWPS uses Python module
logging for logging purposes. If there is
something you need to log (activity, variable content for debug or
anything else), just import the module and use accordingly:
import logging LOGGER = logging.getLogger(__name__) ... LOGGER.info("Just information message") LOGGER.debug("Variable content: %s" % variable) LOGGER.error("Error occured: %s" % e)
The logs are printed to standard error, or to a file set in the configuration file Configuration. Log level is set with logLevel option, also in the configuration file.