{"name":"logNetwork","operator":null,"title":"logNetwork","type":"command","url":"https://community.bistudio.com/wiki/logNetwork","revid":376352,"updated":"2025-10-07T21:20:01Z","groups":["Multiplayer","Diagnostic"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.56"}],"since":{"game":"arma3","name":"Arma 3","version":"1.56"},"arma3_since":"1.56","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Registers new log file recording a network traffic and returns handle of the log. The log file is saved inside the Arma 3 root folder.\n\n> [!IMPORTANT]\n> logNetwork can potentially create a large log file.","syntaxes":[{"syntax":"logNetwork [logFile, filter]","since":null,"effect":null,"exec":null,"params":[{"name":"logFile","type":"String","optional":false,"default":null,"description":"where to store the log","types":["String"],"since":null,"text":"logFile: String - where to store the log"},{"name":"filter","type":"Array of Strings","optional":true,"default":null,"description":"????","types":["Array","String"],"since":null,"text":"filter: Array of Strings - (Optional) ????"}],"returns":{"type":"Number","types":["Number"],"description":"handle for the logging","text":"Number - handle for the logging"},"form":"unary","operator":null,"left":null,"right":{"text":"[logFile, filter]","types":["Array"]}}],"examples":[{"text":"```sqf\n_handle = logNetwork [\"myLog.txt\", [\"\"]];\n```","code":["_handle = logNetwork [\"myLog.txt\", [\"\"]];"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["logNetworkTerminate"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Diagnostic","Command Group: Multiplayer","Introduced with Arma 3 version 1.56","Scripting Commands"]}