diff options
Diffstat (limited to 'booster')
-rw-r--r-- | booster/src/booster_fstab.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/booster/src/booster_fstab.c b/booster/src/booster_fstab.c index e4de0f975..5f322acee 100644 --- a/booster/src/booster_fstab.c +++ b/booster/src/booster_fstab.c @@ -384,10 +384,16 @@ booster_mount (struct glusterfs_mntent *ent) ipars.volume_name = get_option_value (opt); opt = glusterfs_fstab_hasoption (ent, "log-file"); + if (!opt) + opt = glusterfs_fstab_hasoption (ent, "logfile"); + if (opt) ipars.logfile = get_option_value (opt); opt = glusterfs_fstab_hasoption (ent, "log-level"); + if (!opt) + opt = glusterfs_fstab_hasoption (ent, "loglevel"); + if (opt) ipars.loglevel = get_option_value (opt); |