summaryrefslogtreecommitdiff
path: root/Logs.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-10-07 16:06:34 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-10-07 16:06:34 -0400
commita1119e81bafbf8cffdf2fb641d18f3e6185bb2e0 (patch)
tree641748f4975546703667bae4121179193a4b92e5 /Logs.hs
parent8eeb2b5acef05965e24d730dbc9070f49066bf80 (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 6339efa13..4386b7fd7 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"