Skip to content

Commit c63a4b6

Browse files
committed
changing crash and log files in the notebook
1 parent 0e7a8a7 commit c63a4b6

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

notebooks/basic_configuration.ipynb

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"source": [
4040
"# Global, workflow & node level\n",
4141
"\n",
42-
"The configuration options can be changed globally (i.e. for all workflows), for just a workflow, or for just a node. The implementations look as follows:"
42+
"The configuration options can be changed globally (i.e. for all workflows), for just a workflow, or for just a node. The implementations look as follows (note that you should first create directories if you want to change `crashdump_dir` and `log_directory`):"
4343
]
4444
},
4545
{
@@ -54,7 +54,7 @@
5454
},
5555
{
5656
"cell_type": "code",
57-
"execution_count": null,
57+
"execution_count": 1,
5858
"metadata": {
5959
"collapsed": false,
6060
"deletable": true,
@@ -71,13 +71,13 @@
7171
" 'hash_method': 'timestamp',\n",
7272
" 'local_hash_check': 'true',\n",
7373
" 'create_report': 'true',\n",
74-
" 'crashdump_dir': '/home/jovyan/work/crash_folder',\n",
74+
" 'crashdump_dir': '/opt/tutorial/crash_folder',\n",
7575
" 'use_relative_paths': 'false',\n",
7676
" 'job_finished_timeout': '5'},\n",
7777
" 'logging': {'workflow_level': 'INFO',\n",
7878
" 'filemanip_level': 'INFO',\n",
7979
" 'interface_level': 'INFO',\n",
80-
" 'log_directory': '/home/jovyan/work/log_folder',\n",
80+
" 'log_directory': '/opt/tutorial/log_folder',\n",
8181
" 'log_to_file': 'true'}}\n",
8282
"config.update_config(config_dict)\n",
8383
"logging.update_logging(config)"
@@ -95,7 +95,7 @@
9595
},
9696
{
9797
"cell_type": "code",
98-
"execution_count": null,
98+
"execution_count": 2,
9999
"metadata": {
100100
"collapsed": true,
101101
"deletable": true,
@@ -114,7 +114,7 @@
114114
" 'filemanip_level' : 'DEBUG',\n",
115115
" 'interface_level' : 'DEBUG',\n",
116116
" 'log_to_file' : 'True',\n",
117-
" 'log_directory' : '/home/jovyan/work/log_folder'}"
117+
" 'log_directory' : '/opt/tutorial/log_folder'}"
118118
]
119119
},
120120
{
@@ -129,7 +129,7 @@
129129
},
130130
{
131131
"cell_type": "code",
132-
"execution_count": null,
132+
"execution_count": 3,
133133
"metadata": {
134134
"collapsed": true,
135135
"deletable": true,
@@ -162,9 +162,9 @@
162162
"name": "python",
163163
"nbconvert_exporter": "python",
164164
"pygments_lexer": "ipython3",
165-
"version": "3.5.2"
165+
"version": "3.6.2"
166166
}
167167
},
168168
"nbformat": 4,
169-
"nbformat_minor": 1
169+
"nbformat_minor": 2
170170
}

0 commit comments

Comments
 (0)