summaryrefslogtreecommitdiff
path: root/Logs.hs
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2013-10-07 16:06:34 -0400
committerJoey Hess <joey@kitenet.net>2013-10-07 16:06:34 -0400
commit29ca49dad4091c29915e1b3d25ab2e7dda22a307 (patch)
treee33753758381164cf8bd05a6e37b6b457d9cec75 /Logs.hs
parentb22ed77fc4513e0a3311a240d9911b419576d3e0 (diff)
add a log file for scheduled activities
Diffstat (limited to 'Logs.hs')
-rw-r--r--Logs.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/Logs.hs b/Logs.hs
index 6339efa135..4386b7fd7c 100644
--- a/Logs.hs
+++ b/Logs.hs
@@ -28,6 +28,7 @@ uuidBasedLogs =
, trustLog
, groupLog
, preferredContentLog
+ , scheduleLog
]
{- All the ways to get a key from a presence log file -}
@@ -52,6 +53,9 @@ groupLog = "group.log"
preferredContentLog :: FilePath
preferredContentLog = "preferred-content.log"
+scheduleLog :: FilePath
+scheduleLog = "schedule.log"
+
{- The pathname of the location log file for a given key. -}
locationLogFile :: Key -> String
locationLogFile key = hashDirLower key ++ keyFile key ++ ".log"