[DiscordArchive] Which option would that be? `Appender.DB`?
[DiscordArchive] Which option would that be? `Appender.DB`?
Archived author: Revision • Posted: 2025-08-19T22:00:40.397000+00:00
Original source
Which option would that be? `Appender.DB`?
Archived author: Takenbacon • Posted: 2025-08-19T22:00:53.834000+00:00
Original source
I don't think there is a default-option. you'd have to add a few lines to the core
Archived author: Takenbacon • Posted: 2025-08-19T22:01:56.329000+00:00
Original source
I lied, there is one
Archived author: Takenbacon • Posted: 2025-08-19T22:02:06.817000+00:00
Original source
``` LOG_INFO("sql.sql", "SQL: {}", sql);
LOG_ERROR("sql.sql", "[{}] {}", lErrno, mysql_error(m_Mysql));```
Archived author: Takenbacon • Posted: 2025-08-19T22:02:39.260000+00:00
Original source
set sql.sql to info and go crazy
Archived author: Takenbacon • Posted: 2025-08-19T22:04:23.492000+00:00
Original source
if you're writing that much to disk though that file is going to be ridiculously huge quickly, so maybe only run the server for a very short time lol
Archived author: Revision • Posted: 2025-08-19T22:09:00.519000+00:00
Original source
I'm sure it would if I could figure out how to make that happen. I tried changing Logger.sql.sql to log level 4 but it's not doing anything
Archived author: Revision • Posted: 2025-08-19T22:10:04.058000+00:00
Original source
I set it to Debug and now it's printing some stuff
Archived author: Takenbacon • Posted: 2025-08-19T22:15:08.072000+00:00
Original source
yeah it's debug my bad
Archived author: Takenbacon • Posted: 2025-08-19T22:15:26.753000+00:00
Original source
Appender.QueryLog=2,5,1,QueryLog.log,w
Logger.sql.sql=5,Console Errors QueryLog