[OSRM-talk] Running with Debug?
Mateusz Loskot
mateusz at loskot.net
Thu Dec 10 13:01:30 UTC 2020
On Thu, 10 Dec 2020 at 11:45, Artur Bialecki <abialecki at ims.tech> wrote:
>
> I’ve recompiled the osrm backend with “cmake .. -DCMAKE_BUILD_TYPE=Debug” but I don’t see any additional logging. Are there any other flags that need to be passed during building or to the process itself?
Search for ENABLE_DEBUG_LOGGING, but it should be auto-enabled for the
Debug build
https://github.com/Project-OSRM/osrm-backend/blob/370081ec1413bf512d39a204cdb29a541aa7e45b/CMakeLists.txt
The programs often accept verbosity option, e.g.
https://github.com/Project-OSRM/osrm-backend/blob/370081ec1413bf512d39a204cdb29a541aa7e45b/src/tools/contract.cpp#L37-L38
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
More information about the OSRM-talk
mailing list