Build the list of log4j configuration files dynamically from the logs 
directory, currently its hardcoded
--------------------------------------------------------------------------------------------------------

                 Key: GEOS-1943
                 URL: http://jira.codehaus.org/browse/GEOS-1943
             Project: GeoServer
          Issue Type: Improvement
          Components: UI
    Affects Versions: 1.6.4
            Reporter: Gabriel Roldán


When choosing the log4j configuration file to use under server configuration, 
the list of files to choose from is not dynamically build but its hardcoded in 
{{GeoServerConfiguration.jsp}} :

{code}
                <html:select property="log4jConfigFile">
                        <html:option value="VERBOSE_LOGGING.properties"/>
                        <html:option 
value="GEOSERVER_DEVELOPER_LOGGING.properties"/>
                        <html:option 
value="GEOTOOLS_DEVELOPER_LOGGING.properties"/>
                        <html:option value="DEFAULT_LOGGING.properties"/>
                        <html:option value="PRODUCTION_LOGGING.properties"/>
                </html:select>
{code}

So there's no way of adding a custom logging configuration if not modifying one 
of the predefined ones.

This list should be dynamically loaded from the available .properties files in 
the <data_dir>/ logs directory

I'm leaving the fix version unknown as this seems to be a topic for the new UI 
configuration though.,

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

       

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to