# Example of moving a log manually

If you want to move the log to g:/bigdisk/tourslog, move the log with operating system commands:

    move h:\janets\tourslog\log\*.* g:\bigdisk\tourslog\log

Then, alter the logDevice entry in service.properties to read as follows:

    logDevice=g:/bigdisk/toursLog

Note: You can use either a single forward slash or double back slashes for a path separator.

If you later want to move the log back to its default location (in this case, d:\mydatabases\toursDB\log), move the log manually as follows:

    move g:\bigdisk\tourslog\log\*.* d:\mydatabases\toursDB\log

Then, delete the logDevice entry from service.properties.

Note: This example uses commands that are specific to the Windows NT operating system. Use commands appropriate to your operating system to copy a directory and all of its contents to a new location.
Parent topic: Logging on a separate device
Related concepts
Issues for logging in a non-default location
Related tasks
Using the logDevice=logDirectoryPath attribute
Related reference
Example of creating a log in a non-default location