Issue Details (XML | Word | Printable)

Key: GLASSFISH-15557
Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: naman_mehta
Reporter: mkarg
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
glassfish

server.log must be named server.txt on Windows

Created: 13/Jan/11 05:41 AM   Updated: 12/Jul/11 07:15 AM
Component/s: logging
Affects Version/s: v2.1
Fix Version/s: None

Time Tracking:
Not Specified

Environment:

Any edition of the Windows operating system


Tags:
Participants: mkarg and naman_mehta


 Description  « Hide

The Windows operating system's Desktop manager is learning a file's content type (Text, JPG, MP3, Word, Excel, etc.) from it's extension (.txt, .jpg, .mp3, .doc, .xls, etc.). So a log file made up from ASCII characters like server.log must be named server.txt to allow opening it without manually selecting a viewer application (here: to automatically open it using NOTEPAD.exe, the system's default text viewer). This is not a big problem, but it is annoying, and it makes GlassFish feel like "not being a good Windows citizen".



mkarg added a comment - 12/Jul/11 07:15 AM

I want to beg you that this issue is getting fixed. It is so annoying that I cannot double click on server.log to get it opened but must always explicitly select NOTEPAD (and NO, I do NOT want all files named ".log" to open with NOTEPAD, as lots of binary files also are postfixed ".log"). Please make GF a good Windows citicen and use the extension to reflect the TYPE, not the USE of the file!