Search Unity

Logging information to database?

Discussion in 'Scripting' started by MartinIsla, May 23, 2017.

  1. MartinIsla

    MartinIsla

    Joined:
    Sep 18, 2013
    Posts:
    104
    Hello, everyone!

    I'm working on a network project using Forge Networking. Everything's working pretty well, but now I want to log some stuff from the server to a database. Information like "Player connected from IP: xxx.xxx.xxx.xxx" or "Player 2 timed out".

    The server is a Linux headless build (works perfectly on the Ubuntu bash for Windows 10, did you try this amazing tool?) and the clients are a separate build for Windows. Clients connect to the Linux server.

    What would be the best way to achieve this?