|
39 | 39 | "source": [
|
40 | 40 | "# Global, workflow & node level\n",
|
41 | 41 | "\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`):" |
43 | 43 | ]
|
44 | 44 | },
|
45 | 45 | {
|
|
54 | 54 | },
|
55 | 55 | {
|
56 | 56 | "cell_type": "code",
|
57 |
| - "execution_count": null, |
| 57 | + "execution_count": 1, |
58 | 58 | "metadata": {
|
59 | 59 | "collapsed": false,
|
60 | 60 | "deletable": true,
|
|
71 | 71 | " 'hash_method': 'timestamp',\n",
|
72 | 72 | " 'local_hash_check': 'true',\n",
|
73 | 73 | " 'create_report': 'true',\n",
|
74 |
| - " 'crashdump_dir': '/home/jovyan/work/crash_folder',\n", |
| 74 | + " 'crashdump_dir': '/opt/tutorial/crash_folder',\n", |
75 | 75 | " 'use_relative_paths': 'false',\n",
|
76 | 76 | " 'job_finished_timeout': '5'},\n",
|
77 | 77 | " 'logging': {'workflow_level': 'INFO',\n",
|
78 | 78 | " 'filemanip_level': 'INFO',\n",
|
79 | 79 | " 'interface_level': 'INFO',\n",
|
80 |
| - " 'log_directory': '/home/jovyan/work/log_folder',\n", |
| 80 | + " 'log_directory': '/opt/tutorial/log_folder',\n", |
81 | 81 | " 'log_to_file': 'true'}}\n",
|
82 | 82 | "config.update_config(config_dict)\n",
|
83 | 83 | "logging.update_logging(config)"
|
|
95 | 95 | },
|
96 | 96 | {
|
97 | 97 | "cell_type": "code",
|
98 |
| - "execution_count": null, |
| 98 | + "execution_count": 2, |
99 | 99 | "metadata": {
|
100 | 100 | "collapsed": true,
|
101 | 101 | "deletable": true,
|
|
114 | 114 | " 'filemanip_level' : 'DEBUG',\n",
|
115 | 115 | " 'interface_level' : 'DEBUG',\n",
|
116 | 116 | " 'log_to_file' : 'True',\n",
|
117 |
| - " 'log_directory' : '/home/jovyan/work/log_folder'}" |
| 117 | + " 'log_directory' : '/opt/tutorial/log_folder'}" |
118 | 118 | ]
|
119 | 119 | },
|
120 | 120 | {
|
|
129 | 129 | },
|
130 | 130 | {
|
131 | 131 | "cell_type": "code",
|
132 |
| - "execution_count": null, |
| 132 | + "execution_count": 3, |
133 | 133 | "metadata": {
|
134 | 134 | "collapsed": true,
|
135 | 135 | "deletable": true,
|
|
162 | 162 | "name": "python",
|
163 | 163 | "nbconvert_exporter": "python",
|
164 | 164 | "pygments_lexer": "ipython3",
|
165 |
| - "version": "3.5.2" |
| 165 | + "version": "3.6.2" |
166 | 166 | }
|
167 | 167 | },
|
168 | 168 | "nbformat": 4,
|
169 |
| - "nbformat_minor": 1 |
| 169 | + "nbformat_minor": 2 |
170 | 170 | }
|
0 commit comments