{"id":189691,"date":"2025-06-10T11:53:59","date_gmt":"2025-06-10T09:53:59","guid":{"rendered":"https:\/\/fivemx.com\/?p=189691"},"modified":"2025-09-10T09:10:02","modified_gmt":"2025-09-10T07:10:02","slug":"so-uberprufen-sie-die-txadmin-protokolle-auf-fehler","status":"publish","type":"post","link":"https:\/\/fivemx.com\/de\/how-to-check-txadmin-logs-for-errors\/","title":{"rendered":"So \u00fcberpr\u00fcfen Sie txAdmin-Protokolle auf Fehler"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">txAdmin maintains three types of persistent log files in the <code>txData\/&lt;profile&gt;\/logs\/<\/code> directory: admin logs for administrative actions, fxserver logs for console output, and server logs for in-game events. These logs are essential for diagnosing server issues, tracking player activities, and monitoring system performance.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Target Audience<\/strong>: <a href=\"https:\/\/fivemx.com\/fivem-server-administration\/\" type=\"category\" id=\"2875\">FiveM server administrators<\/a> using txAdmin v4.6.0 or newer with log rotation capabilities.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Log Types and Locations<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">File Structure<\/h3>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">txData\/\n\u2514\u2500\u2500 &lt;profile>\/\n    \u2514\u2500\u2500 logs\/\n        \u251c\u2500\u2500 admin\/\n        \u251c\u2500\u2500 fxserver\/\n        \u2514\u2500\u2500 server\/\n<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Log Categories<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Admin Logs<\/strong> (<code>admin\/<\/code>) Contains log of administrative actions as well as some automated ones like server restarts, bans, warns, settings change, live console input. Does not log user IP addresses except from authentication endpoints.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>FXServer Logs<\/strong> (<code>fxserver\/<\/code>) Contains the log of everything that happens in the fxserver console (stdin, stdout, stderr). Any live console input is prefixed with <code>&gt;<\/code>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Server Logs<\/strong> (<code>server\/<\/code>) Contains all actions that happen inside the server, for example player join\/leave\/die, chat messages, explosions, menu events, commands.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Web Interface Log Access<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Method 1: Live Console<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Access your txAdmin web panel at <code>http:\/\/your-server-ip:port<\/code><\/li>\n\n\n\n<li>Navigate to <strong>Live Console<\/strong> in the sidebar<\/li>\n\n\n\n<li>Monitor real-time server activities, warnings, and error messages for debugging issues<\/li>\n\n\n\n<li>Look for entries marked with <code>[ERROR]<\/code>, <code>[WARN]<\/code>, or <code>[CRITICAL]<\/code><\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Method 2: Server Log Viewer<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to <strong>Server Log<\/strong> in the sidebar menu<\/li>\n\n\n\n<li>Monitor all activities on the server including player connections, chat messages, game deaths, menu actions, executed commands, and system events<\/li>\n\n\n\n<li>Use the filter options to isolate error messages<\/li>\n\n\n\n<li>Export log sections for detailed analysis<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Method 3: Action Log<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Navigate to <strong>Settings<\/strong> \u2192 <strong>Diagnostics<\/strong><\/li>\n\n\n\n<li>View the Action Log, which records all actions performed by txAdmin or any Admin<\/li>\n\n\n\n<li>Check for failed administrative actions or system errors<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">File-Based Log Access<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Direct File Reading<\/h3>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\"># Navigate to logs directory\ncd txData\/&lt;your-profile>\/logs\/\n\n# View recent errors in fxserver logs\ntail -100 fxserver\/fxserver-YYYY-MM-DD.log | grep -i error\n\n# Search for specific error patterns\ngrep -r \"ERROR\\|WARN\\|CRITICAL\" .\/\n\n# Monitor logs in real-time\ntail -f fxserver\/fxserver-$(date +%Y-%m-%d).log\n<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Log File Naming Convention<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Files follow pattern: <code>&lt;type&gt;-YYYY-MM-DD.log<\/code><\/li>\n\n\n\n<li>Example: <code>fxserver-2025-06-10.log<\/code><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Common Error Patterns<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Resource Loading Errors<\/h3>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">[ERROR] Failed to start resource 'resource_name'\n[ERROR] Could not load resource metadata for resource_name\n[WARN] Resource resource_name is using deprecated syntax\n<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Database Connection Issues<\/h3>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">[ERROR] MySQL connection failed\n[ERROR] Could not execute query\n[WARN] Connection to database timed out\n<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Player-Related Errors<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Player sources are kept in the format <code>[mutex#id] name<\/code> where the mutex is an identifier of that server execution. Search for <code>[mutex#id]<\/code> to find the initial player join with all identifiers.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Memory and Performance Issues<\/h3>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">[WARN] High memory usage detected\n[ERROR] Script timeout in resource_name\n[CRITICAL] Server overload detected\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Log Configuration<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Rotation Settings<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Edit your <code>txData\/&lt;profile&gt;\/config.json<\/code> and add an object inside logger with the key being one of <code>[admin, fxserver, server]<\/code>. Configure rotation options according to the <a href=\"https:\/\/github.com\/iccicci\/rotating-file-stream#options\" target=\"_blank\" rel=\"noopener\">rotating-file-stream library reference<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Example configuration:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">{\n  \"logger\": {\n    \"fxserver\": {\n      \"size\": \"10M\",\n      \"interval\": \"1d\",\n      \"compress\": \"gzip\"\n    }\n  }\n}\n<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Verbose Logging<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Set <code>txAdminVerbose<\/code> to <code>true<\/code> to print on the console more detailed information about errors and events:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\"># Windows\n.\/FXServer.exe +set txAdminVerbose true\n\n# Linux  \n.\/run.sh +set txAdminVerbose true\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Troubleshooting Specific Issues<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">txAdmin Not Responding<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If you get &#8220;<strong><a href=\"https:\/\/fivemx.com\/troubleshooting-fxserver-is-not-responding-how-to-fix\/\">FXServer is not responding!<\/a><\/strong>&#8221; it means the txAdmin:Monitor could not connect to the FXServer. Causes include:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>FXServer stuck on a resource<\/li>\n\n\n\n<li>Port conflicts between FXServer and txAdmin<\/li>\n\n\n\n<li>Healthcheck returning 404 errors<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/fivemx.com\/troubleshooting-fxserver-is-not-responding-how-to-fix\/\">How To Fix &#8220;FXServer Is Not Responding!&#8221;<\/a><\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Permission Issues<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If you get &#8220;cannot read file&#8221;, the admin file <code>txData\/admins.json<\/code> doesn&#8217;t exist or txAdmin doesn&#8217;t have permission to read it.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Profile Loading Errors<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Selected profile cannot be loaded due to permission issues or broken JSON.<br>Delete corrupted files and restart txAdmin to regenerate.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Best Practices<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Regular Log Review<\/strong>: Check logs daily for accumulating warnings<\/li>\n\n\n\n<li><strong>Automated Monitoring<\/strong>: Set up alerts for critical error patterns<\/li>\n\n\n\n<li><strong>Log Retention<\/strong>: Configure appropriate rotation based on server activity<\/li>\n\n\n\n<li><strong>Backup Logs<\/strong>: Include log directories in backup procedures<\/li>\n\n\n\n<li><strong>Timestamp Correlation<\/strong>: Use timestamps to correlate events across different log types<\/li>\n\n\n\n<li><strong>Make sure your server configuration is right:<\/strong> <a href=\"https:\/\/fivemx.com\/fivem-server-cfg\/\" data-type=\"post\" data-id=\"197819\">Server.cfg Tutorial<\/a><\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">External Resources<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/docs.fivem.net\/docs\/resources\/txAdmin\/\" target=\"_blank\" rel=\"noopener\">Official txAdmin Documentation<\/a> &#8211; Primary reference for txAdmin features and configuration<\/li>\n\n\n\n<li><a href=\"https:\/\/github.com\/citizenfx\/txAdmin\" target=\"_blank\" rel=\"noopener\">txAdmin GitHub Repository<\/a> &#8211; Source code and issue tracking<\/li>\n\n\n\n<li><a href=\"https:\/\/docs.fivem.net\/docs\/server-manual\/setting-up-a-server-txadmin\/\" target=\"_blank\" rel=\"noopener\">FiveM Server Manual<\/a> &#8211; Complete server setup guide<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Uncertainty Note<\/strong>: Log format specifications may vary between txAdmin versions; always verify against your installed version.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Systematic log monitoring through txAdmin&#8217;s web interface and direct file access enables proactive identification of server issues before they impact player experience.<\/p>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/fivemx.com\/troubleshooting\/\">How to fix most errors<\/a><\/div>\n<\/div>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-fivemx wp-block-embed-fivemx\"><div class=\"wp-block-embed__wrapper\">\nhttps:\/\/fivemx.com\/fivem-error-codes-fixes\/\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>txAdmin maintains three types of persistent log files in the txData\/&lt;profile&gt;\/logs\/ directory: admin logs for administrative actions, fxserver logs for console output, and server logs for in-game events. These logs are essential for diagnosing server issues, tracking player activities, and monitoring system performance. Target Audience: FiveM server administrators using txAdmin v4.6.0 or newer with log [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":182160,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1900,1899],"tags":[],"class_list":["post-189691","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-troubleshooting","category-tutorials"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/fivemx.com\/de\/wp-json\/wp\/v2\/posts\/189691","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fivemx.com\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fivemx.com\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fivemx.com\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fivemx.com\/de\/wp-json\/wp\/v2\/comments?post=189691"}],"version-history":[{"count":0,"href":"https:\/\/fivemx.com\/de\/wp-json\/wp\/v2\/posts\/189691\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fivemx.com\/de\/wp-json\/wp\/v2\/media\/182160"}],"wp:attachment":[{"href":"https:\/\/fivemx.com\/de\/wp-json\/wp\/v2\/media?parent=189691"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fivemx.com\/de\/wp-json\/wp\/v2\/categories?post=189691"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fivemx.com\/de\/wp-json\/wp\/v2\/tags?post=189691"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}