defaultLinuxLogsLocation is set in the same place as
defaultLinuxInstallLocation.

-- 
Regards, Alexey
On Dec 17, 2013 7:40 PM, "Josh Suereth" <notifications@github.com> wrote:

> In
> src/main/scala/com/typesafe/sbt/packager/archetypes/JavaServerApplication.scala:
>
> > @@ -62,12 +62,13 @@ object JavaServerAppPackaging {
> >              s <- script.toSeq
> >            } yield LinuxPackageMapping(Seq(s -> path)).withPerms(permissions)
> >          },
> > -      // TODO the /var/log should be generalized like defaultLinuxInstallLocation
> > -      linuxPackageMappings in Debian <+= (normalizedName) map {
> > -        name => packageTemplateMapping("/var/log/" + name)()
> > +      // TODO should we add daemonGroup config?
> > +      linuxPackageMappings in Debian <+= (normalizedName, daemonUser in Debian, defaultLinuxLogsLocation) map {
> > +        (name, user, logsDir) =>
> > +          LinuxPackageMapping(Seq(new File(logsDir) -> name)).withUser(user).withGroup(user)
>
> This line looks a bit odd to me. What's this accomplishing? I can't find
> where defaultLinuxLogsLocation is set, nor what the logsDir -> namemapping would be.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/sbt/sbt-native-packager/pull/109/files#r8401691>
> .
>