title: spray.io logRequestResponse to a dedicated log file
body: <p>I am using spray framework for REST api and debugging directive logRequestResponse. I would like to create an audit log - dedicated log which contains information about access to this api Request/Reply. For this purpose I am using logRequestResponse but I struggle with separating those log rectords to a dedicated log. I can provide a marker as but not a logger and cannot use a loogger since it is a the main one.
  trait RestApi extends Directives {
    this: ServiceActors with Core =></p>
  
  <p>// we use the enclosing ActorContext's or ActorSystem's dispatcher for our Futures and Scheduler
    private implicit val _ = system.dispatcher
    implicit val timeout = Timeout(30.seconds)</p>
  
  <pre><code>  val route: Route = 
      logRequestResponse("REST API", Logging.InfoLevel){
          new DataServiceApi(dataService).route ~
          new AnalyticsServiceApi(analyticsService).route
      }
  
  2015-10-22 12:59:45,599 [INFO ] [BackEndServices-akka.actor.default-dispatcher-16] [akka.actor.ActorSystemImpl]ActorSystem(BackEndServices) - REST API: Response for
    Request : HttpRequest(GET,http://localhost:8080/service/analytics/ ...
    Response: HttpResponse(200 OK,HttpEntity(application/json; charset=UTF-8, ...
  </code></pre>
  
  <p>Is there a simple way how to achieve that? </p>