Results 1 to 2 of 2

Thread: tcServer templates overview

  1. #1
    Join Date
    Aug 2011
    Posts
    1

    Default tcServer templates overview

    Could somebody link to or provide an overview of how templates in tcServer work? Specifically we're looking for a way to set logging to a directory outside of the server instance so logs are gathered in one place with each instance having its own folder named after itself. e.g. /data/logs/server1/

  2. #2
    Join Date
    Oct 2008
    Posts
    493

    Default

    We're adding documentation for how templates work and providing details of how to create your own as part of tc Server 2.6 which will be released next month. This will include support for a template making a change to a properties file, e.g. logging.properties as is relevant here. However, tc Server 2.6 only support making additive changes to properties files as that's the only requirement that's been raised thus far. This may make it harder, but hopefully not impossible, for you to achieve what you want to do.

    For the sake of simplicity, assuming you're on a unix platform, have you considered using a symlink for the logs directory?
    Andy Wilkinson
    SpringSource

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •