• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question File Manager: unable to display log files with long lines

JulianDot

Regular Pleskian
Server operating system version
Almalinux 9
Plesk version and microupdate number
18.0.55
I have few log files , each line is quite long, more then 2000 characters ( debug informations )
Plesk File Manager is not able to open it , it display the message

Unable to display the file ///httpdocs/log/error-log-2023-09-14.log: Unsupported file format.

There is something on Plesk side or on OS itself ?
 
I created a test_log file with 20700 characters in one single line but was easily able to open the file in the built-in file editor. I could edit it, save & resume, save, see the changes on the command line etc. No issues found. Could it be possible that your file it not a pure text file? Does it contain special characters, maybe "invisible" UTF-8 control characters?
 
Pff, yes, correct

In that log file it is possible to be binary code here and there , instead of UTF-8, there are PHP logs ...
 
Maybe you can workaround the issue by logging these errors to a separate file? The File Manager's editor is a text editor, so naturally it won't work on files that are non-text files (in some sort of ASCII range), but fully or partially look like binary files.
 
Back
Top