[TASK] Convert log levels from string to integer