[ http://issues.apache.org/jira/browse/AXIS2C-56?page=all ]
     
Samisa Abeysinghe closed AXIS2C-56:
-----------------------------------

    Resolution: Fixed

Nabeel has fixed this. Now if the folder is missing, log is written to the 
current directory.

> If the folder in which the log file is to be written is missing, no log file 
> is ever created
> --------------------------------------------------------------------------------------------
>
>          Key: AXIS2C-56
>          URL: http://issues.apache.org/jira/browse/AXIS2C-56
>      Project: Axis2-C
>         Type: Bug
>   Components: util
>     Versions: Current (Nightly)
>     Reporter: Samisa Abeysinghe
>      Fix For: M0.4

>
> If my log file location is /home/samisa/axis2/c/deploy/log/axis2.log and if 
> the folder /home/samisa/axis2/c/deploy/log/ does not exist, then no log is 
> written. At least it should report an error to the user and then redirect the 
> log messages to stderr.
> I think the better option sould be to create the folder if it is missing and 
> then create the log file - needs bit of coding but that is the clean way to 
> do the job. If creation of files/folders fail (e.g. due to no access rights) 
> then we should report that and redirect the log messaged to stderr.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to