# Log System Integration

If you want to utilise the logging capabilities of NYX DiscordQueue 2, you will need to add this in `server/utils.lua`&#x20;

A basic example of how to utilise this:

```lua
Utils.CreateLog = function(log)
    if config.debug then
        print('[LOG]', log)
    else
        exports['your_logger']:AddLog(log)
    end
end
```



Due to the number of logging systems available, we do not provide support for adding logging systems to the queue. For support adding your logging system to the queue, please contact the creator of your logging system.
