PDA

View Full Version : Log Level


provocating
10-21-2014, 11:09 PM
I am running Debian Linux 7, I am not sure if things are different on the binary log level for Linux or not. But how do I increase my logging level? I thought it was set for debug but I am not seeing a great level of logging on my end. In particular there are some things that look like the zone file should be producing, but it is not.

jdoran
10-22-2014, 09:32 AM
Here is an example of turning on pathing debugging. There are, of course, many other log types.

#logs debug
#mlog target on (with desired mob targetted)
#mlog set PATHING__DEBUG on

provocating
10-22-2014, 10:52 PM
I was more talking about the log files and not the in-game loggin. I did find some things in the wiki, but those did not seem to change anything.

demonstar55
10-22-2014, 11:45 PM
There is an on/off cmake setting and there is the log level setting, default has logging off and log level of 5. (Which doesn't matter much since logging is off)

provocating
10-28-2014, 04:18 PM
There is an on/off cmake setting and there is the log level setting, default has logging off and log level of 5. (Which doesn't matter much since logging is off)

That was the fix, I dug around in the CMake list until I found this.

-DEQEMU_DISABLE_LOGSYS=OFF

This is my entire CMake now, some are my own variables though.

cmake -j16 -G "Unix Makefiles" "$UPDATE_PATH/src/server" -DEQEMU_DISABLE_LOGSYS=OFF -DCMAKE_BUILD_TYPE:STRING=RelWithDebinfo -DEQEMU_DEBUG_LEVEL=5 -DEQEMU_LOG_LEVEL_STATUS=3 -DCMAKE_INSTALL_PREFIX=/usr/local -DEQEMU_BUILD_LOGIN=OFF -DEQEMU_BUILD_LUA=ON -DEQEMU_BUILD_PERL=ON -DEQEMU_BUILD_SERVER=ON -DEQEMU_BUILD_TESTS=OFF -DEQEMU_ENABLE_BOTS=OFF