GeoServer
  1. GeoServer
  2. GEOS-3191

Unable to prevent geoserver.log from being written to .\logs

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Not A Bug
    • Affects Version/s: 2.0-beta1
    • Fix Version/s: 2.0-beta2
    • Component/s: Configuration
    • Labels:
      None
    • Environment:
      Windows Vista/7
      GeoServer binary version (-bin.zip)
    • Number of attachments :
      0

      Description

      I'm trying to remove all writable files out of %PROGFILES%\GeoServer to a more appropriate place (like %APPDATA%\GeoServer) in line with Vista security. I have moved the data_dir and logs folders out of the way, and I have edited web.xml (for the data_dir) and jetty.xml (for the logs) appropriately (or so I think). When starting up, I get the following error:

      java.io.FileNotFoundException: C:\Program Files\GeoServer\logs\geoserver.log (The system cannot find the path specified)

      which means that something is still trying to be written there.

      The log file in the data_dir is being created successfully, so that is being seen, at least.

      If there is a place to force geoserver.log be written to another directory, I am unable to find it.

      If I have forgotten something obvious, which hopefully I have, please let me know.

        Activity

        Hide
        Mike Pumphrey added a comment -

        Found (by David)!

        The file I was looking for is

        data_dir\logging.xml

        Show
        Mike Pumphrey added a comment - Found (by David)! The file I was looking for is data_dir\logging.xml

          People

          • Assignee:
            Andrea Aime
            Reporter:
            Mike Pumphrey
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: