lib/d3/constants.rb in depot3-3.0.8 vs lib/d3/constants.rb in depot3-3.0.9
- old
+ new
@@ -21,10 +21,11 @@
### language governing permissions and limitations under the Apache License.
###
###
+###
module D3
#####################################
# Module Constants
####################################
@@ -54,7 +55,12 @@
# or we'll raise an exception
DISALLOWED_ADMINS = [nil, "", "root", DFT_CLI_ADMIN, AUTO_INSTALL_ADMIN]
# reports can take a long time to generate, lets set the timeout to a long time.
REPORT_CONNECTION_TIMEOUT = 3600
+
+ # when this file exists, d3, d3admin are set to debug mode. This is
+ # useful when you have a d3 command embedded in some other tool, but need to get
+ # debug logging.
+ DEBUG_FILE = Pathname.new "/tmp/d3debug-on"
end # module