ASF Bugzilla – Attachment 6619 Details for
Bug 9150
No check in FileAppender if parent-path exists
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Consolidate checks for filename in FileAppender
log4j.txt (text/plain), 494 bytes, created by
Ulrich Bode
on 2003-06-04 07:52:15 UTC
(
hide
)
Description:
Consolidate checks for filename in FileAppender
Filename:
MIME Type:
Creator:
Ulrich Bode
Created:
2003-06-04 07:52:15 UTC
Size:
494 bytes
patch
obsolete
> >Better use a new method "private boolean clearFileName (String file)" checking (with logging) and setting the "fileName". > >This method has to be used in the class FileAppender.java in: >- void setFile(String fileName, boolean append, boolean bufferedIO, int bufferSize) >- public void setFile(String file) > >Also replace in clearFileName the Windows backslash: file.replace('\\', '/') >E.g. the install shield ask for the filename ("C:\mydir") and insert the result in the property list.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 9150
: 6619