Skip to content

Commit 7a956cf

Browse files
committed
switch to use apache log format to see bot user agents
1 parent 17c1050 commit 7a956cf

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

app/components/Search/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ class SearchContainer extends Component {
138138
static search ({params, urls, store, corpus, loadSearchResults}) {
139139
corpus = corpus || new CorpusMask(store.getState().corpusMaskDetail.toJS())
140140
if (!corpus.datumFields || !corpus.datumFields.length) {
141-
console.warn('Datum fields were not defined on this corpus', corpus)
141+
console.warn('Datum fields were not defined on this corpus', corpus.dbname)
142142
corpus.datumFields = []
143143
}
144144
corpus.datumFields.map(updateCorpusField)

server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ app.engine("html", consolidate.handlebars);
3737
app.set("view engine", ".html");
3838
app.set("views", path.join(__dirname, "views"));
3939
app.use(favicon(__dirname + "/public/favicon.ico"));
40-
app.use(logger("common"));
40+
app.use(logger("combined"));
4141
app.use(methodOverride());
4242
app.use(bodyParser.json());
4343
app.use(bodyParser.urlencoded({

0 commit comments

Comments
 (0)