We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e06ae42 commit fe7c915Copy full SHA for fe7c915
1 file changed
pkg/phpfpm/config.go
@@ -12,8 +12,9 @@ import (
12
)
13
14
type Config struct {
15
- Include string
16
- Pools []Pool
+ Include string
+ ErrorLog string
17
+ Pools []Pool
18
}
19
20
type Pool struct {
@@ -78,6 +79,10 @@ func ParseConfig(fpmConfigPath string) (Config, error) {
78
79
return c, err
80
81
82
+ if key, err := global.GetKey("error_log"); err == nil {
83
+ c.ErrorLog = key.String()
84
+ }
85
+
86
if include, err := global.GetKey("include"); err == nil {
87
c.Include = include.Value()
88
0 commit comments